ports/120390: [UPDATE] net/ser2net
Felippe de Meirelles Motta
lippemail at gmail.com
Fri Feb 8 04:10:01 UTC 2008
>Number: 120390
>Category: ports
>Synopsis: [UPDATE] net/ser2net
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 08 04:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Felippe de Meirelles Motta
>Release: FreeBSD 7.0-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD 7.0-PRERELEASE #0: Thu Jan 10 01:55:37 BRST 2008
lippe at shire.freebsd.org:/usr/obj/usr/src/sys/GENERIC
>Description:
- Updated to 2.5;
- Now respect PORTDOCS;
- Now using pkg-plist;
- Fix install files.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
? pkg-plist
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/comms/ser2net/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 8 Dec 2006 03:00:42 -0000 1.2
+++ Makefile 8 Feb 2008 04:07:24 -0000
@@ -6,8 +6,7 @@
#
PORTNAME= ser2net
-PORTVERSION= 2.3
-PORTREVISION= 1
+PORTVERSION= 2.5
CATEGORIES= comms net
MASTER_SITES= SF
@@ -16,13 +15,20 @@
GNU_CONFIGURE= yes
MAN8= ${PORTNAME}.8
-PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample
USE_RC_SUBR= ${PORTNAME}
+DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
+
post-patch:
@${REINPLACE_CMD} -e's!/etc!${PREFIX}/etc!g' ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/${PORTNAME}.8
-post-install:
+do-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+.endif
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8/
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/comms/ser2net/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo 4 Sep 2006 09:26:10 -0000 1.1
+++ distinfo 8 Feb 2008 04:07:24 -0000
@@ -1,3 +1,3 @@
-MD5 (ser2net-2.3.tar.gz) = 5f83a3e8aec18331cb61069dccdfba47
-SHA256 (ser2net-2.3.tar.gz) = 2b5dfdd457f31bd2eec9afc8ed2873bd40b2d6f3cb9ff7275dd9384218b01734
-SIZE (ser2net-2.3.tar.gz) = 303997
+MD5 (ser2net-2.5.tar.gz) = c11f36ff2e4c523be7b282f2f6d03638
+SHA256 (ser2net-2.5.tar.gz) = fb7bf30c967b4d64f12e6d81f99df3d3e65bb31a919625ec2820e68f65dcef1c
+SIZE (ser2net-2.5.tar.gz) = 343105
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list