Date: Mon, 9 Jun 2014 16:16:20 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357180 - in head/net/sl2tps: . files Message-ID: <201406091616.s59GGKvG092879@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 +@sample %%ETCDIR%%/config.xml.sample +man/man1/sl2tps.1.gz +@dirrmtry %%ETCDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406091616.s59GGKvG092879>