aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-10-30 13:08:18 +0800
committereadler <eadler@FreeBSD.org>2013-10-30 13:08:18 +0800
commite3361a628cb26d243b352eb13cf89a2e1438fb5f (patch)
treecfc8112599660f39dd37861eef74cafd430d93b1 /comms
parent1d9e6a34af8d59c092aba437e5cf2d04b4fb4e4f (diff)
downloadfreebsd-ports-gnome-e3361a628cb26d243b352eb13cf89a2e1438fb5f.tar.gz
freebsd-ports-gnome-e3361a628cb26d243b352eb13cf89a2e1438fb5f.tar.zst
freebsd-ports-gnome-e3361a628cb26d243b352eb13cf89a2e1438fb5f.zip
- Convert to staging
- Perform general cleanup
Diffstat (limited to 'comms')
-rw-r--r--comms/tcpser/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/comms/tcpser/Makefile b/comms/tcpser/Makefile
index e74129b55e93..3673b2e4770b 100644
--- a/comms/tcpser/Makefile
+++ b/comms/tcpser/Makefile
@@ -10,22 +10,17 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= TCPSER turns serial port into an emulated Hayes compatible modem
WRKSRC= ${WRKDIR}/tcpser
-USE_GMAKE= yes
-CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS}
+USES= gmake
+CFLAGS+= -pthread
+LDFLAGS+= -pthread
PORTDOCS= README CHANGES
PLIST_FILES= bin/tcpser
-OPTIONS_DEFINE= DOCS
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tcpser ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README ${WRKSRC}/CHANGES ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/tcpser ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>