blob: a8a011b7e2d5cf19a01f655dbc8d80f4751d1b3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# $NetBSD: Makefile,v 1.9 2008/01/04 12:02:49 ghen Exp $
DISTNAME= aiccu_20070115
PKGNAME= ${DISTNAME:S/_/-/:S/.//g}
CATEGORIES= net
MASTER_SITES= http://www.sixxs.net/archive/sixxs/aiccu/unix/
MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://www.sixxs.net/tools/aiccu/
COMMENT= Automatic IPv6 Connectivity Client Utility
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
CHECK_PORTABILITY_SKIP+=debian/*
SUBST_CLASSES+= sysconfdir
SUBST_STAGE.sysconfdir= post-patch
SUBST_FILES.sysconfdir= common/aiccu.h
SUBST_SED.sysconfdir= -e 's,/etc/aiccu.conf,${PKG_SYSCONFDIR}/aiccu.conf,'
EXAMPLESDIR= ${PREFIX}/share/examples/aiccu
DOCDIR= ${PREFIX}/share/doc/aiccu
CONF_FILES= ${EXAMPLESDIR}/aiccu.conf ${PKG_SYSCONFDIR}/aiccu.conf
CONF_FILES_MODE= 0600
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man1 share/examples/aiccu
INSTALLATION_DIRS+= share/doc/aiccu
RCD_SCRIPTS= aiccu
.include "options.mk"
# the distfile untars as ${WRKDIR}/aiccu/ but this would conflict with the
# rc.d script that gets copied to the same name ${WRKDIR}/${RCD_SCRIPTS}
post-extract:
${MV} ${WRKDIR}/aiccu ${WRKDIR}/${DISTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unix-console/aiccu ${DESTDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/doc/aiccu.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${DESTDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/LICENSE ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/COPYRIGHT ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/HOWTO ${DESTDIR}${DOCDIR}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|