svn commit: r356715 - head/lang/petite-chez
Carlo Strub
cs at FreeBSD.org
Thu Jun 5 21:55:02 UTC 2014
Author: cs
Date: Thu Jun 5 21:55:01 2014
New Revision: 356715
URL: http://svnweb.freebsd.org/changeset/ports/356715
QAT: https://qat.redports.org/buildarchive/r356715/
Log:
- Support staging
- Strip binaries
- Pet portlint
PR: 190504
Submitted by: vmagerya at gmail.com (maintainer)
Modified:
head/lang/petite-chez/Makefile
head/lang/petite-chez/pkg-plist
Modified: head/lang/petite-chez/Makefile
==============================================================================
--- head/lang/petite-chez/Makefile Thu Jun 5 21:35:42 2014 (r356714)
+++ head/lang/petite-chez/Makefile Thu Jun 5 21:55:01 2014 (r356715)
@@ -19,7 +19,7 @@ ONLY_FOR_ARCHS= i386 amd64
NO_PACKAGE= User must accept license terms before installation
.if defined(PACKAGE_BUILDING)
-IGNORE= User must accept license terms before installation
+IGNORE= user must accept license terms before installation
.endif
OPTIONS_DEFINE= THREADS
@@ -29,18 +29,16 @@ HAS_CONFIGURE= yes
USES= iconv
CONFIGURE_ARGS= --installprefix=${PREFIX} \
--installman=${MANPREFIX}/man \
+ --temproot=${STAGEDIR} \
--force-relink \
--nogzip-man-pages \
-m=${CHEZ_MACHTYPE}
ALL_TARGET= build
-MAN1= petite.1
-
PLIST_SUB= CHEZ_VERSION="${PORTVERSION}" \
CHEZ_MACHTYPE="${CHEZ_MACHTYPE}"
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
@@ -75,4 +73,8 @@ post-configure:
-e 's|-L/usr/local/lib|-L/usr/lib -L${LOCALBASE}/lib|' \
${WRKSRC}/Mf-${CHEZ_MACHTYPE}
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/petite
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/scheme-script
+
.include <bsd.port.post.mk>
Modified: head/lang/petite-chez/pkg-plist
==============================================================================
--- head/lang/petite-chez/pkg-plist Thu Jun 5 21:35:42 2014 (r356714)
+++ head/lang/petite-chez/pkg-plist Thu Jun 5 21:55:01 2014 (r356715)
@@ -27,6 +27,7 @@ lib/csv%%CHEZ_VERSION%%/lib/scons.ss
lib/csv%%CHEZ_VERSION%%/lib/setof.ss
lib/csv%%CHEZ_VERSION%%/lib/socket.ss
lib/csv%%CHEZ_VERSION%%/lib/unify.ss
- at dirrm lib/csv%%CHEZ_VERSION%%/lib
- at dirrm lib/csv%%CHEZ_VERSION%%/%%CHEZ_MACHTYPE%%
- at dirrm lib/csv%%CHEZ_VERSION%%
+man/man1/petite.1.gz
+ at dirrmtry lib/csv%%CHEZ_VERSION%%/%%CHEZ_MACHTYPE%%
+ at dirrmtry lib/csv%%CHEZ_VERSION%%/lib
+ at dirrmtry lib/csv%%CHEZ_VERSION%%
More information about the svn-ports-all
mailing list