pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gofish Fixed pkglint warnings. Bumped PKGREVISION.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7440d17a90d
branches:  trunk
changeset: 356077:c7440d17a90d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Dec 18 16:36:18 2016 +0000

description:
Fixed pkglint warnings. Bumped PKGREVISION.

The user name is configurable now.

diffstat:

 net/gofish/Makefile |  16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r b571a057a735 -r c7440d17a90d net/gofish/Makefile
--- a/net/gofish/Makefile       Sun Dec 18 16:30:12 2016 +0000
+++ b/net/gofish/Makefile       Sun Dec 18 16:36:18 2016 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2013/07/12 10:44:59 jperkin Exp $
+# $NetBSD: Makefile,v 1.17 2016/12/18 16:36:18 rillig Exp $
 
 DISTNAME=              gofish-1.2
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            net
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=gofish/}
 
@@ -14,13 +14,16 @@
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
 
-CONFIGURE_ARGS+=       --with-gopheruser=${GOPHER_USER:Q}
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+=       --localstatedir=${VARBASE:Q}
+CONFIGURE_ARGS+=       --with-gopheruser=${GOPHER_USER}
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
+BUILD_DEFS+=           VARBASE
 
 EGDIR=                 ${PREFIX}/share/examples/gofish
 RUNTIMEDIR=            ${VARBASE}/gopher
 
+.include "../../mk/bsd.prefs.mk"
+
 GOPHER_USER?=          gopher
 GOPHER_GROUP?=         gopher
 PKG_GROUPS=            ${GOPHER_GROUP}
@@ -36,10 +39,11 @@
 CONF_FILES+=           ${EGDIR}/${file} ${PKG_SYSCONFDIR}/${file}
 .endfor
 
-FILES_SUBST+=          RUNTIMEDIR=${RUNTIMEDIR:Q}
+FILES_SUBST+=          RUNTIMEDIR=${RUNTIMEDIR}
 FILES_SUBST+=          PKG_USERS=${PKG_USERS:Q}
 
 SUBST_CLASSES+=                user
+SUBST_STAGE.user=      pre-configure
 SUBST_MESSAGE.user=    Fixing name of gopher user in files.
 SUBST_FILES.user=      gofish.conf
 SUBST_SED.user=                -e "s/;user = gopher/user = ${GOPHER_USER}/g"



Home | Main Index | Thread Index | Old Index