1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- 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)
This commit is contained in:
Felippe de Meirelles Motta 2008-03-16 16:38:22 +00:00
parent f3aefee9d4
commit 3a9152eeef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209152
3 changed files with 22 additions and 7 deletions

View File

@ -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>

View File

@ -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

9
comms/ser2net/pkg-plist Normal file
View File

@ -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%%