1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

- Fix license

- Switch to options helpers
- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2015-11-09 20:48:17 +00:00
parent 46cb296fb2
commit 66e4562fc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401166
2 changed files with 7 additions and 6 deletions

View File

@ -9,10 +9,7 @@ MASTER_SITES= http://www.jbrain.com/pub/linux/serial/
MAINTAINER= ports@FreeBSD.org
COMMENT= TCPSER turns serial port into an emulated Hayes compatible modem
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
OPTIONS_DEFINE= DOCS
LICENSE= GPLv2 # or later
LDFLAGS+= -pthread
USES= dos2unix gmake
@ -21,8 +18,12 @@ WRKSRC= ${WRKDIR}/tcpser
PORTDOCS= README CHANGES
PLIST_FILES= bin/tcpser
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpser ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}

View File

@ -1,5 +1,5 @@
--- Makefile.orig 2008-09-24 16:42:06.000000000 +0200
+++ Makefile 2008-09-24 16:42:35.000000000 +0200
--- Makefile.orig 2015-11-09 18:00:33 UTC
+++ Makefile
@@ -1,10 +1,8 @@
SRC=src
SRCS = $(SRC)/bridge.c $(SRC)/debug.c $(SRC)/getcmd.c $(SRC)/ip.c $(SRC)/init.c $(SRC)/modem_core.c $(SRC)/nvt.c $(SRC)/serial.c $(SRC)/ip232.c $(SRC)/util.c $(SRC)/phone_book.c $(SRC)/shared.c $(SRC)/tcpser.c $(SRC)/line.c $(SRC)/dce.c