2020-01-26 18:30:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.22 2020/01/26 17:31:49 rillig Exp $
|
2001-06-06 01:39:27 +02:00
|
|
|
#
|
|
|
|
|
2015-03-08 02:01:52 +01:00
|
|
|
DISTNAME= dhisd-5.5
|
2001-06-06 01:39:27 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://www.dhis.org/
|
2001-06-06 01:39:27 +02:00
|
|
|
COMMENT= DynDNS server
|
2015-03-08 02:01:52 +01:00
|
|
|
LICENSE= 2-clause-bsd
|
2001-06-06 01:39:27 +02:00
|
|
|
|
2014-09-23 19:57:04 +02:00
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
|
2009-12-18 01:39:50 +01:00
|
|
|
INSTALLATION_DIRS= bin share/examples/dhisd share/doc/dhisd
|
2015-03-08 02:01:52 +01:00
|
|
|
|
|
|
|
SUBST_CLASSES+= varbase
|
|
|
|
SUBST_FILES.varbase= dhisd.h README
|
|
|
|
SUBST_STAGE.varbase= pre-configure
|
|
|
|
SUBST_MESSAGE.varbase= Adapt VARBASE and PREFIX
|
|
|
|
SUBST_VARS.varbase+= VARBASE PREFIX
|
|
|
|
|
2019-11-03 12:45:28 +01:00
|
|
|
SPECIAL_PERMS+= bin/dhisd-genkeys ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700 \
|
|
|
|
bin/dhisd ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
|
2001-06-06 01:39:27 +02:00
|
|
|
|
|
|
|
do-install:
|
2019-11-03 12:45:28 +01:00
|
|
|
${INSTALL_DATA} \
|
|
|
|
${WRKSRC}/*.sample \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/dhisd
|
|
|
|
${INSTALL_DATA} \
|
|
|
|
${WRKSRC}/CONTRIBUTORS \
|
|
|
|
${WRKSRC}/COPYRIGHT \
|
|
|
|
${WRKSRC}/INSTALL \
|
|
|
|
${WRKSRC}/README \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/dhisd
|
|
|
|
${INSTALL_PROGRAM} \
|
|
|
|
${WRKSRC}/dhisd \
|
|
|
|
${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} \
|
|
|
|
${WRKSRC}/dhisgenkeys \
|
|
|
|
${DESTDIR}${PREFIX}/bin/dhisd-genkeys
|
2001-06-06 01:39:27 +02:00
|
|
|
|
2004-04-25 10:59:48 +02:00
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
2001-06-06 01:39:27 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|