Approved by:	portmgr@ (blanket approval)
This commit is contained in:
Vanilla I. Shu 2014-06-27 03:43:03 +00:00
parent f9a4673b3f
commit b5dcba7231
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359445
2 changed files with 16 additions and 5 deletions

View file

@ -12,10 +12,8 @@ COMMENT= Wrapper to ps(1) that maps pids to jails
BUILD_DEPENDS= p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey
RUN_DEPENDS:= ${BUILD_DEPENDS}
MAN1= jps.1
MANCOMPRESSED= yes
USES= perl5
PLIST_FILES= bin/jps
USES= perl5 shebangfix
PLIST_FILES= bin/jps man/man1/jps.1.gz
SHEBANG_FILES= jps.pl
NO_STAGE= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,13 @@
--- Makefile.orig 2014-06-27 11:33:54.689401738 +0800
+++ Makefile 2014-06-27 11:34:10.118431813 +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}