aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-10 04:48:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-10 04:48:17 +0800
commit94c1d83efeb76017b4e7d54c4b79ad0cd660143b (patch)
treea352b2f1b21cdf25f3507d1f4fa8b42f5c547720 /comms
parent2ebd2011a77fd5eade257b63292b6245cc9c6e81 (diff)
downloadfreebsd-ports-gnome-94c1d83efeb76017b4e7d54c4b79ad0cd660143b.tar.gz
freebsd-ports-gnome-94c1d83efeb76017b4e7d54c4b79ad0cd660143b.tar.zst
freebsd-ports-gnome-94c1d83efeb76017b4e7d54c4b79ad0cd660143b.zip
- Fix license
- Switch to options helpers - Regenerate patches with `make makepatch`
Diffstat (limited to 'comms')
-rw-r--r--comms/tcpser/Makefile9
-rw-r--r--comms/tcpser/files/patch-Makefile4
2 files changed, 7 insertions, 6 deletions
diff --git a/comms/tcpser/Makefile b/comms/tcpser/Makefile
index 5a16c4bec655..0cd829f342ae 100644
--- a/comms/tcpser/Makefile
+++ b/comms/tcpser/Makefile
@@ -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}
diff --git a/comms/tcpser/files/patch-Makefile b/comms/tcpser/files/patch-Makefile
index afd163d3ecc6..c98fc15ea037 100644
--- a/comms/tcpser/files/patch-Makefile
+++ b/comms/tcpser/files/patch-Makefile
@@ -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