summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-03-23 00:51:09 +0000
committerschmonz <schmonz@pkgsrc.org>2005-03-23 00:51:09 +0000
commit0f55d7d583c1f4900f753f49e40f8a97d857190a (patch)
tree20ee7d90c6ddce888026ccc27abd5458b6b5361c /sysutils
parent6da91999932008e5d264d41e6aa7201037dbec4e (diff)
downloadpkgsrc-0f55d7d583c1f4900f753f49e40f8a97d857190a.tar.gz
Take advantage of mk/djbware.mk.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/checkpassword/Makefile15
-rw-r--r--sysutils/daemontools/Makefile13
-rw-r--r--sysutils/service-config/Makefile14
3 files changed, 11 insertions, 31 deletions
diff --git a/sysutils/checkpassword/Makefile b/sysutils/checkpassword/Makefile
index 048ee141984..022c909af32 100644
--- a/sysutils/checkpassword/Makefile
+++ b/sysutils/checkpassword/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/03/13 03:25:44 schmonz Exp $
+# $NetBSD: Makefile,v 1.10 2005/03/23 00:51:10 schmonz Exp $
#
DISTNAME= checkpassword-0.90
@@ -9,22 +9,13 @@ MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://cr.yp.to/checkpwd.html
COMMENT= Simple, uniform password-checking interface to all root applications
-RESTRICTED= "modified source and binaries may not be distributed"
-NO_BIN_ON_CDROM=${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
+DJB_RESTRICTED= YES
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
-BUILD_TARGET= it
-INSTALL_TARGET= setup check
-
INSTALLATION_DIRS= bin
-do-configure:
- ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc
- ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
- ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
-
+.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile
index 044152f2001..1837930e419 100644
--- a/sysutils/daemontools/Makefile
+++ b/sysutils/daemontools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/03/13 03:25:44 schmonz Exp $
+# $NetBSD: Makefile,v 1.18 2005/03/23 00:51:10 schmonz Exp $
# FreeBSD Id: ports/sysutils/daemontools/Makefile,v 1.8 2000/12/03 05:16:41 steve Exp
DISTNAME= daemontools-0.76
@@ -13,15 +13,12 @@ MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://cr.yp.to/daemontools.html
COMMENT= Service monitoring and logging utilities by djb
-RESTRICTED= "modified source and binaries may not be distributed"
-NO_BIN_ON_CDROM=${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
+DJB_RESTRICTED= YES
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
-BUILD_TARGET= it
SAMPLERC= svscan.sh.sample
SERVICEDIR?= ${VARBASE}/spool/service
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
@@ -32,10 +29,7 @@ DEINSTALL_FILE= ${WRKDIR}/.DEINSTALL
INSTALLATION_DIRS= bin man man/man8 share/examples/daemontools
-do-configure:
- ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/src/conf-cc
- ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/src/conf-ld
- ${ECHO} ${PREFIX} > ${WRKSRC}/src/conf-home
+DJB_CONFIG_DIR= ${WRKSRC}/src
do-build:
cd ${WRKSRC} && package/compile
@@ -63,4 +57,5 @@ post-install:
${INSTALL_DATA_DIR} ${SERVICEDIR}
cd ${WRKDIR}/${PKGBASE}-man && ${INSTALL_MAN} *.8 ${PREFIX}/man/man8
+.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/service-config/Makefile b/sysutils/service-config/Makefile
index 143e126b70b..b2e0386b8e0 100644
--- a/sysutils/service-config/Makefile
+++ b/sysutils/service-config/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/03/13 03:25:44 schmonz Exp $
+# $NetBSD: Makefile,v 1.7 2005/03/23 00:51:10 schmonz Exp $
#
DISTNAME= service-config-0.51
@@ -14,14 +14,8 @@ DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
BUILD_TARGET= it
INSTALL_TARGET= setup check
-RESTRICTED= "Possibly inherited DJB-style license would prohibit distribution \
- of modified binary packages"
-NO_BIN_ON_CDROM=${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-
-do-configure:
- ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc
- ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
- ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
+# Possibly inherited DJB-style distribution terms
+DJB_RESTRICTED= YES
+.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"