aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/grzip/Makefile
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-10-22 04:54:28 +0800
committerdanilo <danilo@FreeBSD.org>2013-10-22 04:54:28 +0800
commitc98fd3f99d098f05f89946559ecb4b44612cbe9d (patch)
tree34aae4f0af47c15e140a03e1d3cc248eb122dfca /archivers/grzip/Makefile
parent7f7e55a970b64604480e6319bda11d06f618fbec (diff)
downloadfreebsd-ports-gnome-c98fd3f99d098f05f89946559ecb4b44612cbe9d.tar.gz
freebsd-ports-gnome-c98fd3f99d098f05f89946559ecb4b44612cbe9d.tar.zst
freebsd-ports-gnome-c98fd3f99d098f05f89946559ecb4b44612cbe9d.zip
- Add stage support
- Add LICENSE
Diffstat (limited to 'archivers/grzip/Makefile')
-rw-r--r--archivers/grzip/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/archivers/grzip/Makefile b/archivers/grzip/Makefile
index b027bf5e491a..850d06b39c5a 100644
--- a/archivers/grzip/Makefile
+++ b/archivers/grzip/Makefile
@@ -10,7 +10,8 @@ MASTER_SITES= ftp://ftp.ac-grenoble.fr/ge/compression/ CENKES
MAINTAINER= ports@FreeBSD.org
COMMENT= Efficient file compressor
-NO_STAGE= yes
+LICENSE= LGPL21
+
USE_BZIP2= yes
USES= gettext
USE_LDCONFIG= yes
@@ -27,13 +28,13 @@ post-patch:
-e '/^PREFIX=/d;/^LDFLAGS/s|=|+=|' ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
- @${LN} -sf ${PORTNAME} ${PREFIX}/bin/grunzip
- @${LN} -sf ${PORTNAME} ${PREFIX}/bin/grzcat
- @${INSTALL_SCRIPT} ${WRAPPERS:S|^|${WRKSRC}/scripts/|} ${PREFIX}/bin/
- @${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${PREFIX}/lib/
- @${LN} -sf lib${PORTNAME}.so ${PREFIX}/lib/lib${PORTNAME}.so.0
- @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${PREFIX}/include/
- @cd ${WRKSRC}/po; ${SETENV} ${MAKE_ENV} ${MAKE} install
+ ${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/
+ ${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
.include <bsd.port.mk>