diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-10-23 20:35:04 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-10-23 20:35:04 +0800 |
commit | bd23c60c0795c8ad39c1374ec932b2b524ff6a03 (patch) | |
tree | 021b5abe00057205a871723ca245d4d88618447f /security/tthsum | |
parent | ee54aa9f32aba71d26323ed3105a239f0780b092 (diff) | |
download | freebsd-ports-gnome-bd23c60c0795c8ad39c1374ec932b2b524ff6a03.tar.gz freebsd-ports-gnome-bd23c60c0795c8ad39c1374ec932b2b524ff6a03.tar.zst freebsd-ports-gnome-bd23c60c0795c8ad39c1374ec932b2b524ff6a03.zip |
Support staging.
Diffstat (limited to 'security/tthsum')
-rw-r--r-- | security/tthsum/Makefile | 6 | ||||
-rw-r--r-- | security/tthsum/files/patch-Makefile | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/security/tthsum/Makefile b/security/tthsum/Makefile index 3abe63b71ca2..bb4ade7618a3 100644 --- a/security/tthsum/Makefile +++ b/security/tthsum/Makefile @@ -15,15 +15,13 @@ LICENSE= GPLv3 CONFLICTS= microdc2-[0-9]* USES= gmake -MANCOMPRESSED= yes -MAN1= tthsum.1 -PLIST_FILES= bin/tthsum +PLIST_FILES= bin/tthsum man/man1/tthsum.1.gz +MAKE_ENV+= STAGEDIR=${STAGEDIR} WRKSRC= ${WRKDIR}/${PORTNAME} regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} test runtest -NO_STAGE= yes .include <bsd.port.mk> diff --git a/security/tthsum/files/patch-Makefile b/security/tthsum/files/patch-Makefile index 5ec8ace69e3b..cd42b6eafe49 100644 --- a/security/tthsum/files/patch-Makefile +++ b/security/tthsum/files/patch-Makefile @@ -29,9 +29,9 @@ - install $(BINS)/tthsum $(BIN) - install -m644 $(SHARES)/tthsum.1.gz $(MAN)/man1 +install: tthsum manual -+ install -d $(BIN) $(MANPREFIX)/man/man1 -+ install $(BINS)/tthsum $(PREFIX)/bin -+ install -m644 $(SHARES)/tthsum.1.gz $(MANPREFIX)/man/man1 ++ install -d $(BIN) $(STAGEDIR)$(MANPREFIX)/man/man1 ++ install $(BINS)/tthsum $(STAGEDIR)$(PREFIX)/bin ++ install -m644 $(SHARES)/tthsum.1.gz $(STAGEDIR)$(MANPREFIX)/man/man1 uninstall: $(RM) $(BIN)/tthsum |