2019-05-23 21:22:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.27 2019/05/23 19:23:14 rillig Exp $
|
2005-04-24 14:10:47 +02:00
|
|
|
#
|
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
DISTNAME= amap-5.2
|
2016-03-05 12:27:40 +01:00
|
|
|
PKGREVISION= 6
|
2007-02-22 20:26:05 +01:00
|
|
|
CATEGORIES= net security
|
2008-01-05 06:00:37 +01:00
|
|
|
MASTER_SITES= http://freeworld.thc.org/releases/
|
2005-04-24 14:10:47 +02:00
|
|
|
|
2009-07-17 20:00:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-08-16 22:45:30 +02:00
|
|
|
#HOMEPAGE= http://freeworld.thc.org/thc-amap/
|
2007-02-22 20:26:05 +01:00
|
|
|
COMMENT= Applications and Services scanner
|
2009-05-19 10:59:00 +02:00
|
|
|
LICENSE= amap-license
|
2005-04-24 14:10:47 +02:00
|
|
|
|
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
2005-04-24 14:10:47 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/amap
|
|
|
|
PKG_SYSCONFSUBDIR?= amap
|
|
|
|
|
|
|
|
CONF_FILES= ${EGDIR}/appdefs.resp ${PKG_SYSCONFDIR}/appdefs.resp
|
|
|
|
CONF_FILES+= ${EGDIR}/appdefs.rpc ${PKG_SYSCONFDIR}/appdefs.rpc
|
|
|
|
CONF_FILES+= ${EGDIR}/appdefs.trig ${PKG_SYSCONFDIR}/appdefs.trig
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
SUBST_CLASSES+= conf
|
2005-04-24 14:10:47 +02:00
|
|
|
SUBST_FILES.conf= configure
|
|
|
|
SUBST_STAGE.conf= pre-configure
|
2019-05-23 21:22:54 +02:00
|
|
|
SUBST_VARS.conf= PREFIX
|
2007-02-22 20:26:05 +01:00
|
|
|
SUBST_SED.conf+= -e 's|@MANDIR@|${PREFIX}/man|g'
|
2019-05-23 21:22:54 +02:00
|
|
|
SUBST_VARS.conf+= COMPILER_RPATH_FLAG
|
2007-02-22 20:26:05 +01:00
|
|
|
SUBST_SED.conf+= -e 's|@SSLBASE@|${BUILDLINK_PREFIX.openssl}|g'
|
2019-05-23 21:22:54 +02:00
|
|
|
SUBST_VARS.conf+= UNAME
|
|
|
|
SUBST_VARS.conf+= GREP
|
|
|
|
SUBST_VARS.conf+= SED
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.conf= Fixing configure script.
|
2005-04-24 14:10:47 +02:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR}
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2005-04-24 14:10:47 +02:00
|
|
|
post-extract:
|
2006-10-27 12:35:47 +02:00
|
|
|
${CHMOD} 0700 ${WRKSRC}
|
2005-04-24 14:10:47 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-06-12 04:14:13 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/amap ${DESTDIR}${PREFIX}/bin
|
|
|
|
${LN} -s amap ${DESTDIR}${PREFIX}/bin/amap6
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/amapcrap ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/amap.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/appdefs.trig ${DESTDIR}${EGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/appdefs.resp ${DESTDIR}${EGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/appdefs.rpc ${DESTDIR}${EGDIR}
|
2005-12-11 20:21:36 +01:00
|
|
|
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2005-04-24 14:10:47 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|