aboutsummaryrefslogtreecommitdiffstats
path: root/comms/ser2net
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2008-03-17 00:38:22 +0800
committerlippe <lippe@FreeBSD.org>2008-03-17 00:38:22 +0800
commit45af663c46f90a522ce9b8df5381c533916ef18b (patch)
treee47da2f5eb3f3a4e81466096e25ed1a66d0bcaa0 /comms/ser2net
parentd91fbb8ebf7a0609edc940c10e55260c77a0e424 (diff)
downloadfreebsd-ports-gnome-45af663c46f90a522ce9b8df5381c533916ef18b.tar.gz
freebsd-ports-gnome-45af663c46f90a522ce9b8df5381c533916ef18b.tar.zst
freebsd-ports-gnome-45af663c46f90a522ce9b8df5381c533916ef18b.zip
- Update to 2.5.
- Respect PORTDOCS. - No using pkg-plist. PR: ports/120390 Submitted by: lippe (myself) Approved by: araujo (mentor), maintainer timeout (> 2 weeks)
Diffstat (limited to 'comms/ser2net')
-rw-r--r--comms/ser2net/Makefile14
-rw-r--r--comms/ser2net/distinfo6
-rw-r--r--comms/ser2net/pkg-plist9
3 files changed, 22 insertions, 7 deletions
diff --git a/comms/ser2net/Makefile b/comms/ser2net/Makefile
index 62f8a654b151..395ac9045215 100644
--- a/comms/ser2net/Makefile
+++ b/comms/ser2net/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ser2net
-PORTVERSION= 2.3
-PORTREVISION= 1
+PORTVERSION= 2.5
CATEGORIES= comms net
MASTER_SITES= SF
@@ -16,13 +15,20 @@ COMMENT= Allows to access serial ports over IP
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>
diff --git a/comms/ser2net/distinfo b/comms/ser2net/distinfo
index 11f460edeed0..2f24c26fdc60 100644
--- a/comms/ser2net/distinfo
+++ b/comms/ser2net/distinfo
@@ -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
diff --git a/comms/ser2net/pkg-plist b/comms/ser2net/pkg-plist
new file mode 100644
index 000000000000..050a80527b8d
--- /dev/null
+++ b/comms/ser2net/pkg-plist
@@ -0,0 +1,9 @@
+sbin/ser2net
+etc/ser2net.conf.sample
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%