blob: 59abb242475dafeca8d7b608b9061d462eebae6d (
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
|
# $NetBSD: Makefile,v 1.15 2010/03/24 19:43:28 asau Exp $
#
DISTNAME= dhisd-5.1
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dhis.org/
COMMENT= DynDNS server
INSTALLATION_DIRS= bin share/examples/dhisd share/doc/dhisd
PKG_DESTDIR_SUPPORT= destdir
do-install:
${INSTALL_DATA} \
${WRKSRC}/*db.sample \
${DESTDIR}${PREFIX}/share/examples/dhisd
${INSTALL_DATA} \
${WRKSRC}/CONTRIBUTORS \
${WRKSRC}/COPYRIGHT \
${WRKSRC}/INSTALL \
${WRKSRC}/MODULES \
${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/dhisd
${INSTALL_PROGRAM} \
${WRKSRC}/dhisd \
${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} \
${WRKSRC}/genkeys \
${DESTDIR}${PREFIX}/bin/dhisd-genkeys
${CHOWN} ${ROOT_USER} \
${DESTDIR}${PREFIX}/bin/dhisd-genkeys \
${DESTDIR}${PREFIX}/bin/dhisd
${CHMOD} 700 \
${DESTDIR}${PREFIX}/bin/dhisd-genkeys \
${DESTDIR}${PREFIX}/bin/dhisd
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|