Import of pkgsrc-2015Q3

This commit is contained in:
2015-10-03 03:37:01 -07:00
committed by Lionel Sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228314 additions and 80018 deletions

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.28 2014/10/09 14:06:59 wiz Exp $
# $NetBSD: Makefile,v 1.29 2015/08/10 07:31:31 dholland Exp $
DISTNAME= psmisc-20.1
CATEGORIES= sysutils
PKGREVISION= 2
PKGREVISION= 3
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=psmisc/}
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -13,9 +13,27 @@ LICENSE= gnu-gpl-v2
CONFLICTS+= pstree<=2.16
GNU_CONFIGURE= yes
PLIST_VARS+= fuser
LIBS+= ${BUILDLINK_LDADD.getopt}
#
# fuser works only on Linux.
#
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
PLIST.fuser= yes
.else
SUBST_CLASSES+= fuser
SUBST_STAGE.fuser= pre-configure
SUBST_FILES.fuser= src/Makefile.in doc/Makefile.in
SUBST_SED.fuser= -e '/^man_MANS =/s/fuser.1//' \
-e '/^bin_PROGRAMS =/s/fuser//'
.endif
#
# "make install" doesn't install the link from killall -> pidof.
#
post-install:
${RM} -f ${DESTDIR}${PREFIX}/bin/pidof
${LN} -f ${DESTDIR}${PREFIX}/bin/killall ${DESTDIR}${PREFIX}/bin/pidof