diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-02-26 09:03:01 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-02-26 09:03:01 +0000 |
commit | 1ba8497aa825c58604d9affb3e954af76a0c0d5f (patch) | |
tree | 0e929cdb4225293e16a1f7d8d5b5438e202f2381 /security/tthsum | |
parent | 3e3203b121c6237b27f39f5eb4c9bfce486c2c5d (diff) | |
download | ports-1ba8497aa825c58604d9affb3e954af76a0c0d5f.tar.gz ports-1ba8497aa825c58604d9affb3e954af76a0c0d5f.zip |
- Fix LICENSE
- Add LICENSE_FILE
- Switch to new test framework
- Simplify DESTDIR handling
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=463004
Diffstat (limited to 'security/tthsum')
-rw-r--r-- | security/tthsum/Makefile | 10 | ||||
-rw-r--r-- | security/tthsum/files/patch-Makefile | 6 |
2 files changed, 7 insertions, 9 deletions
diff --git a/security/tthsum/Makefile b/security/tthsum/Makefile index 62a325f864f2..adf7c4ba8970 100644 --- a/security/tthsum/Makefile +++ b/security/tthsum/Makefile @@ -11,7 +11,8 @@ MASTER_SITES= http://tthsum.devs.nu/pkg/ \ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Command-line utility for generating and checking TTH message digests -LICENSE= GPLv3 +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING.txt CONFLICTS= microdc2-[0-9]* @@ -19,13 +20,10 @@ USES= gmake PLIST_FILES= bin/tthsum man/man1/tthsum.1.gz -MAKE_ENV+= STAGEDIR=${STAGEDIR} WRKSRC= ${WRKDIR}/${PORTNAME} +TEST_TARGET= runtest post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - -regression-test: build - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test runtest + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk> diff --git a/security/tthsum/files/patch-Makefile b/security/tthsum/files/patch-Makefile index 1373840a700a..7d7bb05fb4c3 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) $(STAGEDIR)$(MANPREFIX)/man/man1 -+ install $(BINS)/tthsum $(STAGEDIR)$(PREFIX)/bin -+ install -m644 $(SHARES)/tthsum.1.gz $(STAGEDIR)$(MANPREFIX)/man/man1 ++ install -d $(BIN) $(DESTDIR)$(MANPREFIX)/man/man1 ++ install $(BINS)/tthsum $(DESTDIR)$(PREFIX)/bin ++ install -m644 $(SHARES)/tthsum.1.gz $(DESTDIR)$(MANPREFIX)/man/man1 uninstall: $(RM) $(BIN)/tthsum |