Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
+13 -5
View File
@@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.17 2014/02/14 04:14:40 rodent Exp $
# $NetBSD: Makefile,v 1.21 2015/02/16 00:25:45 rodent Exp $
#
DISTNAME= apg-2.3.0b
PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.adel.nursat.kz/apg/download/
@@ -15,15 +16,22 @@ 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}
OPSYSVARS+= APG_CS_CLIBS
APG_CS_CLIBS.Linux+= -lnsl
APG_CS_CLIBS.SunOS+= -lnsl -lsocket
MAKE_ENV+= APG_CS_CLIBS=${APG_CS_CLIBS:Q}
INSTALLATION_DIRS+= bin sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
.include "options.mk"
.if ${OPSYS} == "Darwin" || ${OPSYS} == "OpenBSD"
BUILDLINK_TRANSFORM+= l:crypt:crypto
.endif
post-extract:
${CHMOD} -R u+w ${WRKSRC}
${RM} -f ${WRKSRC}/INSTALL
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${DESTDIR}${PREFIX}/bin/apgcli
+18
View File
@@ -0,0 +1,18 @@
# $NetBSD: options.mk,v 1.1 2015/02/16 00:25:45 rodent Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.apg
PKG_SUPPORTED_OPTIONS= debug libcrack
PKG_SUGGESTED_OPTIONS= # blank
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CFLAGS+= -DAPG_DEBUG
.endif
.if !empty(PKG_OPTIONS:Mlibcrack)
.include "../../security/libcrack/buildlink3.mk"
CFLAGS+= -I${PREFIX}/include/cracklib -DAPG_USE_CRACKLIB
CFLAGS+= -DCRACKLIB_DICTPATH=\"${PREFIX}/libdata\"
BUILDLINK_TRANSFORM+= l:crypt:crypt:crack
.endif