aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-01 21:40:11 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-01 21:40:11 +0800
commit41d08eef4cde0846e0a3f56dab0012adebe89192 (patch)
tree362f880f72c9ad311ad66a991bb1414377684bc4
parente3341a9c19f549f91728826b9704148a651dd0ce (diff)
downloadfreebsd-ports-gnome-41d08eef4cde0846e0a3f56dab0012adebe89192.tar.gz
freebsd-ports-gnome-41d08eef4cde0846e0a3f56dab0012adebe89192.tar.zst
freebsd-ports-gnome-41d08eef4cde0846e0a3f56dab0012adebe89192.zip
- Pet portlint
- Cosmetic fixes
-rw-r--r--archivers/php5-snappy/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/archivers/php5-snappy/Makefile b/archivers/php5-snappy/Makefile
index e7458be65b3a..7ed7f4733c30 100644
--- a/archivers/php5-snappy/Makefile
+++ b/archivers/php5-snappy/Makefile
@@ -14,19 +14,20 @@ COMMENT= PHP extension for the snappy compression algorithm
LICENSE= BSD2CLAUSE
-LIB_DEPENDS+= libsnappy.so:archivers/snappy
-CONFIGURE_ARGS+= --with-snappy-includedir=${LOCALBASE}/include
+LIB_DEPENDS= libsnappy.so:archivers/snappy
USES= php:ext
PHP_MODNAME= snappy
+CONFIGURE_ARGS= --with-snappy-includedir=${LOCALBASE}/include
WRKSRC= ${WRKDIR}/${PROJECTHOST}
-OPTIONS_DEFINE= TEST
IGNORE_WITH_PHP= 70
+OPTIONS_DEFINE= TEST
+
post-build-TEST-on:
- @(cd ${WRKSRC} && ${MAKE} ${MAKE_ENV} NO_INTERACTION=yes ${.TARGET})
+ (cd ${WRKSRC} && ${MAKE} ${MAKE_ENV} NO_INTERACTION=yes ${.TARGET})
-post-stage:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/snappy.so
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/snappy.so
.include <bsd.port.mk>