aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2019-01-31 21:38:59 +0800
committertobik <tobik@FreeBSD.org>2019-01-31 21:38:59 +0800
commitb7815013c07084b8d4cea33edf06be80fa2f1db2 (patch)
tree78648e316cb72f8be96a43436a2a3f7e9259dd13 /devel
parente98c512e24675d6d96b421421712109d7e9d7163 (diff)
downloadfreebsd-ports-gnome-b7815013c07084b8d4cea33edf06be80fa2f1db2.tar.gz
freebsd-ports-gnome-b7815013c07084b8d4cea33edf06be80fa2f1db2.tar.zst
freebsd-ports-gnome-b7815013c07084b8d4cea33edf06be80fa2f1db2.zip
devel/cvsweb: Do not set SUB_LIST after bsd.port.pre.mk
The framework already adds PREFIX and DOCSDIR to it, so drop it entirely. Move variables that do not need to be after bsd.port.pre.mk up.
Diffstat (limited to 'devel')
-rw-r--r--devel/cvsweb/Makefile28
1 files changed, 13 insertions, 15 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile
index ff9ef7acbfb5..dbf5b5f914ff 100644
--- a/devel/cvsweb/Makefile
+++ b/devel/cvsweb/Makefile
@@ -14,11 +14,23 @@ COMMENT= WWW CGI script to browse CVS repository trees
CONFLICTS= cvsweb-3.*
-NO_BUILD= yes
USES= perl5
+NO_BUILD= yes
+PLIST_SUB= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}"
+SUB_FILES= pkg-message
+
OPTIONS_DEFINE= DOCS
+CONFFILES= cvsweb.conf \
+ cvsweb.conf-freebsd \
+ cvsweb.conf-openbsd \
+ cvsweb.conf-netbsd \
+ cvsweb.conf-ruby
+
+# Specify the title of your cvsweb site.
+TITLE?= My CVS Repository
+
.include <bsd.port.pre.mk>
# Specify where your repository belongs.
@@ -27,9 +39,6 @@ OPTIONS_DEFINE= DOCS
CVSROOT= /home/cvs
.endif
-# Specify the title of your cvsweb site.
-TITLE?= My CVS Repository
-
# Specify these directories in relative paths to ${PREFIX}.
.if !exists(${PREFIX}/www) && exists(${PREFIX}/share/apache)
CGIDIR?= share/apache/cgi-bin
@@ -39,17 +48,6 @@ CGIDIR?= www/cgi-bin
ICONSDIR?= www/icons
.endif
-CONFFILES= cvsweb.conf \
- cvsweb.conf-freebsd \
- cvsweb.conf-openbsd \
- cvsweb.conf-netbsd \
- cvsweb.conf-ruby
-
-PLIST_SUB+= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}"
-
-SUB_FILES= pkg-message
-SUB_LIST= PREFIX="${PREFIX}" DOCSDIR="${DOCSDIR}"
-
post-patch:
@${REINPLACE_CMD} -i '' -e 's,!!PERL!!,${PERL},' \
-e 's,!!PREFIX!!,${PREFIX},' \