aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/grzip
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-06-01 15:59:15 +0800
committerohauer <ohauer@FreeBSD.org>2014-06-01 15:59:15 +0800
commit1331d93293ef63bc71feafdb99a718899ce5cf73 (patch)
tree4d307b471693ec4b275c79f06f7f888397796316 /archivers/grzip
parent56f183e9f5e3f81f98a57f54261bbb23a9e9f099 (diff)
downloadfreebsd-ports-gnome-1331d93293ef63bc71feafdb99a718899ce5cf73.tar.gz
freebsd-ports-gnome-1331d93293ef63bc71feafdb99a718899ce5cf73.tar.zst
freebsd-ports-gnome-1331d93293ef63bc71feafdb99a718899ce5cf73.zip
- fix sanity in CAT archivers
- USE_BZIP2 -> USES=tar:bzip2 - LICENSE=BSD -> BSD[n]CLAUSE
Diffstat (limited to 'archivers/grzip')
-rw-r--r--archivers/grzip/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/archivers/grzip/Makefile b/archivers/grzip/Makefile
index 850d06b39c5a..4265526b669e 100644
--- a/archivers/grzip/Makefile
+++ b/archivers/grzip/Makefile
@@ -12,8 +12,7 @@ COMMENT= Efficient file compressor
LICENSE= LGPL21
-USE_BZIP2= yes
-USES= gettext
+USES= tar:bzip2 gettext
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include -fPIC
LDFLAGS+= -L${LOCALBASE}/lib -lintl
@@ -28,13 +27,13 @@ post-patch:
-e '/^PREFIX=/d;/^LDFLAGS/s|=|+=|' ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${LN} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/grunzip
${LN} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/grzcat
- ${INSTALL_SCRIPT} ${WRAPPERS:S|^|${WRKSRC}/scripts/|} ${STAGEDIR}${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/
+ ${INSTALL_SCRIPT} ${WRAPPERS:S|^|${WRKSRC}/scripts/|} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib
${LN} -sf lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include/
- cd ${WRKSRC}/po; ${SETENV} ${MAKE_ENV} ${MAKE} PREFIX="${STAGEDIR}${PREFIX}" install
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include
+ (cd ${WRKSRC}/po; ${SETENV} ${MAKE_ENV} ${MAKE} PREFIX="${STAGEDIR}${PREFIX}" install)
.include <bsd.port.mk>