svn commit: r357180 - in head/net/sl2tps: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Mon Jun 9 16:16:21 UTC 2014
Author: vanilla
Date: Mon Jun 9 16:16:20 2014
New Revision: 357180
URL: http://svnweb.freebsd.org/changeset/ports/357180
QAT: https://qat.redports.org/buildarchive/r357180/
Log:
1: Stagify.
2: use @sample on pkg-plist.
3: Bump version.
Added:
head/net/sl2tps/files/
head/net/sl2tps/files/patch-Makefile (contents, props changed)
head/net/sl2tps/pkg-plist (contents, props changed)
Modified:
head/net/sl2tps/Makefile
Modified: head/net/sl2tps/Makefile
==============================================================================
--- head/net/sl2tps/Makefile Mon Jun 9 16:08:43 2014 (r357179)
+++ head/net/sl2tps/Makefile Mon Jun 9 16:16:20 2014 (r357180)
@@ -3,23 +3,18 @@
PORTNAME= sl2tps
PORTVERSION= 0.4.2
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/libpdel/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= Simple L2TP server based on libpdel(3) and netgraph(4)
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
-LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel
+LIB_DEPENDS= libpdel.so:${PORTSDIR}/devel/libpdel
-MANCOMPRESSED= maybe
-MAN1= sl2tps.1
-PLIST_FILES= bin/sl2tps %%ETCDIR%%/config.xml.sample
-PLIST_DIRS= %%ETCDIR%%
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|$${PREFIX}/include|$${LOCALBASE}/include|g ; \
Added: head/net/sl2tps/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/sl2tps/files/patch-Makefile Mon Jun 9 16:16:20 2014 (r357180)
@@ -0,0 +1,21 @@
+--- Makefile.orig 2014-06-10 00:10:49.502121136 +0800
++++ Makefile 2014-06-10 00:11:31.903120544 +0800
+@@ -38,14 +38,14 @@ CLEANFILES+= ${PROG}.1
+ # Install example config file
+ #
+ beforeinstall:
+- @if [ ! -d ${PREFIX}/etc/${PROG} ]; then \
++ @if [ ! -d $(DESTDIR)${PREFIX}/etc/${PROG} ]; then \
+ ${ECHO} ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0755 \
+- ${PREFIX}/etc/${PROG}; \
++ $(DESTDIR)${PREFIX}/etc/${PROG}; \
+ ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0755 \
+- ${PREFIX}/etc/${PROG}; \
++ $(DESTDIR)${PREFIX}/etc/${PROG}; \
+ fi
+ ${INSTALL} -C -o ${SHAREOWN} -g ${SHAREGRP} -m 0644 \
+- ${CONFIG_SAMPLE} ${PREFIX}/etc/${PROG}/${CONFIG_SAMPLE}
++ ${CONFIG_SAMPLE} $(DESTDIR)${PREFIX}/etc/${PROG}/${CONFIG_SAMPLE}
+
+ distclean: cleandir
+
Added: head/net/sl2tps/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/sl2tps/pkg-plist Mon Jun 9 16:16:20 2014 (r357180)
@@ -0,0 +1,4 @@
+bin/sl2tps
+ at sample %%ETCDIR%%/config.xml.sample
+man/man1/sl2tps.1.gz
+ at dirrmtry %%ETCDIR%%
More information about the svn-ports-head
mailing list