aboutsummaryrefslogtreecommitdiffstats
path: root/security/tthsum
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-10-23 20:35:04 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-10-23 20:35:04 +0800
commitbd23c60c0795c8ad39c1374ec932b2b524ff6a03 (patch)
tree021b5abe00057205a871723ca245d4d88618447f /security/tthsum
parentee54aa9f32aba71d26323ed3105a239f0780b092 (diff)
downloadfreebsd-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/Makefile6
-rw-r--r--security/tthsum/files/patch-Makefile6
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