7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
32 lines
779 B
Makefile
32 lines
779 B
Makefile
# $NetBSD: Makefile,v 1.18 2014/05/29 23:37:18 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= apg-2.3.0b
|
|
PKGREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.adel.nursat.kz/apg/download/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.adel.nursat.kz/apg/
|
|
COMMENT= Tool set for random password generation
|
|
LICENSE= modified-bsd
|
|
|
|
MAKE_ENV+= FLAGS=${CFLAGS:M*:Q} INSTALL_PREFIX=${DESTDIR:Q}${PREFIX:Q}
|
|
|
|
USE_TOOLS+= perl:run
|
|
REPLACE_PERL= perl/apgcli.pl
|
|
|
|
OPSYSVARS+= CS_LIBS
|
|
CS_LIBS.Linux+= -lnsl
|
|
CS_LIBS.SunOS+= -lnsl -lsocket
|
|
MAKE_ENV+= CS_LIBS=${CS_LIBS:Q}
|
|
|
|
INSTALLATION_DIRS+= bin sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
|
|
|
|
post-extract:
|
|
${CHMOD} -R u+w ${WRKSRC}
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${DESTDIR}${PREFIX}/bin/apgcli
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|