diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-29 15:58:14 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-29 15:58:14 +0000 |
commit | 048e5c640273292b57bae9806fe5512fe5a31f82 (patch) | |
tree | bda191cee31b90114c3027fedbaa095a2c7ba2f1 /sysutils/tren | |
parent | 8004db30c9faa0df46b4abd3e12f6581de331291 (diff) | |
download | ports-048e5c640273292b57bae9806fe5512fe5a31f82.tar.gz ports-048e5c640273292b57bae9806fe5512fe5a31f82.zip |
Notes
Diffstat (limited to 'sysutils/tren')
-rw-r--r-- | sysutils/tren/Makefile | 16 | ||||
-rw-r--r-- | sysutils/tren/files/patch-Makefile | 10 |
2 files changed, 17 insertions, 9 deletions
diff --git a/sysutils/tren/Makefile b/sysutils/tren/Makefile index 25a2c6066d7b..2166679abe58 100644 --- a/sysutils/tren/Makefile +++ b/sysutils/tren/Makefile @@ -10,18 +10,16 @@ MAINTAINER= tren@tundraware.com COMMENT= A Powerful File And Directory Batch Renaming Tool USE_PYTHON= yes - -MAN1= tren.1 -MANCOMPRESSED= yes - -PLIST_FILES= bin/tren.py +PLIST_FILES= bin/tren.py man/man1/tren.1.gz PORTDOCS= WHATSNEW.txt tren-license.txt tren.html tren.pdf tren.ps tren.rst +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .endif .include <bsd.port.mk> diff --git a/sysutils/tren/files/patch-Makefile b/sysutils/tren/files/patch-Makefile new file mode 100644 index 000000000000..aa50de01ffd8 --- /dev/null +++ b/sysutils/tren/files/patch-Makefile @@ -0,0 +1,10 @@ +--- Makefile.orig 2014-06-29 23:52:49.319326073 +0800 ++++ Makefile 2014-06-29 23:53:01.269334923 +0800 +@@ -4,5 +4,5 @@ + all: # Do nothing. This is a free-standing Python program. + + install: +- ${BSD_INSTALL_SCRIPT} tren.py ${PREFIX}/bin +- ${BSD_INSTALL_MAN} tren.1.gz ${PREFIX}/man/man1 ++ ${BSD_INSTALL_SCRIPT} tren.py $(DESTDIR)${PREFIX}/bin ++ ${BSD_INSTALL_MAN} tren.1.gz $(DESTDIR)${PREFIX}/man/man1 |