diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-29 23:28:25 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-29 23:28:25 +0800 |
commit | b133e420989902d51e5be084096dc33ad85bfa4d (patch) | |
tree | 41e739d78418911e9acc3ec00f14b17a160ec28e /sysutils/topless | |
parent | 6dbf0e6eec724ce5ecabe07024083ee8b07a3a01 (diff) | |
download | freebsd-ports-gnome-b133e420989902d51e5be084096dc33ad85bfa4d.tar.gz freebsd-ports-gnome-b133e420989902d51e5be084096dc33ad85bfa4d.tar.zst freebsd-ports-gnome-b133e420989902d51e5be084096dc33ad85bfa4d.zip |
Stagify.
Approved by: portmgr@ (blanket approval)
Diffstat (limited to 'sysutils/topless')
-rw-r--r-- | sysutils/topless/Makefile | 4 | ||||
-rw-r--r-- | sysutils/topless/files/patch-Makefile | 20 |
2 files changed, 21 insertions, 3 deletions
diff --git a/sysutils/topless/Makefile b/sysutils/topless/Makefile index 8458250bcb44..bce8a57a6bf0 100644 --- a/sysutils/topless/Makefile +++ b/sysutils/topless/Makefile @@ -12,8 +12,6 @@ COMMENT= Display command output on the whole screen like "top" USES= perl5 USE_PERL5= build -MAN1= topless.1 -PLIST_FILES= bin/topless +PLIST_FILES= bin/topless man/man1/topless.1.gz -NO_STAGE= yes .include <bsd.port.mk> diff --git a/sysutils/topless/files/patch-Makefile b/sysutils/topless/files/patch-Makefile new file mode 100644 index 000000000000..a911131ec01f --- /dev/null +++ b/sysutils/topless/files/patch-Makefile @@ -0,0 +1,20 @@ +--- Makefile.orig 2014-06-29 23:25:53.573437041 +0800 ++++ Makefile 2014-06-29 23:26:20.982465783 +0800 +@@ -33,12 +33,12 @@ ${MAN1}: ${POD} + ${POD2MAN} -c "${POD_CENTER}" -r "${POD_RELEASE}" ${POD} > ${MAN1} + + install: +- ${MKDIR} ${BINDIR} ${MANDIR}/man1 +- ${BSD_INSTALL_SCRIPT} ${PROG} ${BINDIR} +- ${BSD_INSTALL_MAN} ${MAN1} ${MANDIR}/man1 ++ ${MKDIR} ${BINDIR} $(DESTDIR)${MANDIR}/man1 ++ ${BSD_INSTALL_SCRIPT} ${PROG} $(DESTDIR)${BINDIR} ++ ${BSD_INSTALL_MAN} ${MAN1} $(DESTDIR)${MANDIR}/man1 + if [ `id -u` = 0 ]; then \ +- ${CHOWN} ${BINOWN}:${BINGRP} ${BINDIR}/${PROG}; \ +- ${CHOWN} ${MANOWN}:${MANGRP} ${MANDIR}/man1/${MAN1}; \ ++ ${CHOWN} ${BINOWN}:${BINGRP} $(DESTDIR)${BINDIR}/${PROG}; \ ++ ${CHOWN} ${MANOWN}:${MANGRP} $(DESTDIR)${MANDIR}/man1/${MAN1}; \ + fi + + clean: |