Index: head/security/tthsum/Makefile =================================================================== --- head/security/tthsum/Makefile (revision 463003) +++ head/security/tthsum/Makefile (revision 463004) @@ -1,31 +1,29 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= tthsum PORTVERSION= 1.3.2 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://tthsum.devs.nu/pkg/ \ LOCAL/ehaupt 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]* 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 Index: head/security/tthsum/files/patch-Makefile =================================================================== --- head/security/tthsum/files/patch-Makefile (revision 463003) +++ head/security/tthsum/files/patch-Makefile (revision 463004) @@ -1,37 +1,37 @@ --- Makefile.orig 2013-08-13 18:58:36 UTC +++ Makefile @@ -11,16 +11,6 @@ ifeq ($(MAN),) MAN = $(DESTDIR)/usr/local/man endif -ifeq ($(DEBUG),) - override CPPFLAGS += -DNDEBUG - CFLAGS += -O3 #-fno-stack-protector #-march=native - LDFLAGS += -O3 #-march=native -else - override CPPFLAGS += -DDEBUG - CFLAGS += -g #-pg - LDFLAGS += -g #-pg -endif - CC ?= gcc GZIP = gzip -9 -c RM = rm -rf @@ -47,12 +37,12 @@ TSTENTRY = $(BINS)/test.o override CPPFLAGS += $(shell cat $(BINS)/autoconf.cppflags) -all: tthsum manual test runtest +all: tthsum manual -install: tthsum manual test runtest - install -d $(BIN) $(MAN)/man1 - 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