pkgsrc/security/apg/Makefile
wiz 8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00

31 lines
771 B
Makefile

# $NetBSD: Makefile,v 1.14 2012/10/03 21:57:22 wiz Exp $
#
DISTNAME= apg-2.2.3
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
PKG_DESTDIR_SUPPORT= user-destdir
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"