d2ca14a3f1
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
29 lines
736 B
Makefile
29 lines
736 B
Makefile
# $NetBSD: Makefile,v 1.16 2013/05/31 12:41:50 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= apg-2.2.3
|
|
PKGREVISION= 2
|
|
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-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${DESTDIR}${PREFIX}/bin/apgcli
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|