Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2012/10/23 19:51:20 asau Exp $
# $NetBSD: Makefile,v 1.4 2014/09/29 08:29:46 jperkin Exp $
#
PKGNAME= pluged-0.1
@@ -12,18 +12,30 @@ HOMEPAGE= http://plug.gnux.info/
COMMENT= USB plug/unplug monitoring daemon
#LICENSE= # TODO: (see mk/license.mk)
USE_TOOLS+= lex
BUILDLINK_TRANSFORM= rm:-Werror
EGDIR= ${PREFIX}/share/examples/pluged
RCDDIR= ${PREFIX}/share/examples/rc.d
CONF_FILES+= ${EGDIR}/pluged.conf ${PREFIX}/etc/pluged.conf
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= rcd
.if ${INIT_SYSTEM} == "rc.d"
PLIST.rcd= yes
.endif
do-install:
${INSTALL_PROGRAM_DIR} ${DESTDIR}/${PREFIX}/sbin
${INSTALL_DATA_DIR} ${DESTDIR}/${EGDIR}
${INSTALL_DATA_DIR} ${DESTDIR}/${RCDDIR}
${INSTALL_PROGRAM} ${WRKSRC}/pluged ${DESTDIR}/${PREFIX}/sbin/pluged
${INSTALL_DATA} ${WRKSRC}/pluged.conf ${DESTDIR}/${EGDIR}/pluged.conf
.if ${INIT_SYSTEM} == "rc.d"
${INSTALL_DATA_DIR} ${DESTDIR}/${RCDDIR}
${INSTALL_DATA} ${WRKSRC}/rc.d/pluged ${DESTDIR}/${RCDDIR}/pluged
.endif
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,3 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2014/03/11 14:05:16 jperkin Exp $
@comment $NetBSD: PLIST,v 1.3 2014/05/06 15:10:13 jperkin Exp $
sbin/pluged
share/examples/pluged/pluged.conf
${PLIST.rcd}share/examples/rc.d/pluged