diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/jtop/Makefile | 8 | ||||
-rw-r--r-- | sysutils/jtop/files/patch-Makefile | 13 |
2 files changed, 16 insertions, 5 deletions
diff --git a/sysutils/jtop/Makefile b/sysutils/jtop/Makefile index f1b9d422ace5..be6f1faf3eb0 100644 --- a/sysutils/jtop/Makefile +++ b/sysutils/jtop/Makefile @@ -12,10 +12,8 @@ COMMENT= Wrapper to top(1) that maps pids to jails BUILD_DEPENDS= p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey RUN_DEPENDS:= ${BUILD_DEPENDS} -MAN1= jtop.1 -MANCOMPRESSED= yes -USES= perl5 -PLIST_FILES= bin/jtop +USES= perl5 shebangfix +PLIST_FILES= bin/jtop man/man1/jtop.1.gz +SHEBANG_FILES= jtop.pl -NO_STAGE= yes .include <bsd.port.mk> diff --git a/sysutils/jtop/files/patch-Makefile b/sysutils/jtop/files/patch-Makefile new file mode 100644 index 000000000000..c6ecd85390d7 --- /dev/null +++ b/sysutils/jtop/files/patch-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig 2014-06-27 11:43:49.474359774 +0800 ++++ Makefile 2014-06-27 11:44:04.348361308 +0800 +@@ -40,8 +40,8 @@ clean: + ${RM} -rf ${TARGETS} + + install: all +- ${INSTALL_BIN} ${PKG} ${PFX}/bin +- ${INSTALL_MAN} ${PKG}.${MAN_SFX}.gz ${PFX}/${MAN_DIR} ++ ${INSTALL_BIN} ${PKG} $(DESTDIR)${PFX}/bin ++ ${INSTALL_MAN} ${PKG}.${MAN_SFX}.gz $(DESTDIR)${PFX}/${MAN_DIR} + + deinstall: + ${RM} -f ${PFX}/bin/${PKG} |