diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-11-26 23:07:23 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-11-26 23:07:23 +0800 |
commit | 126394b29043254cd431a639ae48fa486a525fc8 (patch) | |
tree | c44058355041b566c30cbeb63940c03bfaafe5fe /sysutils | |
parent | 920f8cfd539f3f13cf6e8513b1ded273102ac2bb (diff) | |
download | freebsd-ports-gnome-126394b29043254cd431a639ae48fa486a525fc8.tar.gz freebsd-ports-gnome-126394b29043254cd431a639ae48fa486a525fc8.tar.zst freebsd-ports-gnome-126394b29043254cd431a639ae48fa486a525fc8.zip |
- Support STAGEDIR
- While I'm here:
- Convert to new options helper
- Use USES=gmake
PR: ports/184275
Submitted by: Douglas William Thrift <douglas@douglasthrift.net> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/psmisc/Makefile | 21 | ||||
-rw-r--r-- | sysutils/psmisc/pkg-plist | 3 |
2 files changed, 7 insertions, 17 deletions
diff --git a/sysutils/psmisc/Makefile b/sysutils/psmisc/Makefile index 8c5162d08f23..f7a66ff74090 100644 --- a/sysutils/psmisc/Makefile +++ b/sysutils/psmisc/Makefile @@ -16,28 +16,17 @@ BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed CONFLICTS= pidof-[0-9]* pstree-2.[0-9]* GNU_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake OPTIONS_DEFINE= NLS - -NO_STAGE= yes -.include <bsd.port.options.mk> - -MAN1= killall.1 pstree.1 - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS= --enable-nls -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +OPTIONS_SUB= yes +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext post-patch: @${REINPLACE_CMD} -e '/^#define COMM_LEN / s|16|254|' ${WRKSRC}/src/comm.h post-install: - @${LN} -fs ${PREFIX}/bin/killall ${PREFIX}/bin/pidof + @${LN} -fs killall ${STAGEDIR}${PREFIX}/bin/pidof .include <bsd.port.mk> diff --git a/sysutils/psmisc/pkg-plist b/sysutils/psmisc/pkg-plist index 59c65ebab71c..fc6ee6d51d7a 100644 --- a/sysutils/psmisc/pkg-plist +++ b/sysutils/psmisc/pkg-plist @@ -1,8 +1,9 @@ -@comment $FreeBSD$ bin/killall bin/pidof bin/pstree bin/pstree.x11 +man/man1/killall.1.gz +man/man1/pstree.1.gz %%NLS%%share/locale/bg/LC_MESSAGES/psmisc.mo %%NLS%%share/locale/ca/LC_MESSAGES/psmisc.mo %%NLS%%share/locale/cs/LC_MESSAGES/psmisc.mo |