aboutsummaryrefslogtreecommitdiff
path: root/misc/nserver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/nserver/Makefile')
-rw-r--r--misc/nserver/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/misc/nserver/Makefile b/misc/nserver/Makefile
new file mode 100644
index 000000000000..378aca9f3ddb
--- /dev/null
+++ b/misc/nserver/Makefile
@@ -0,0 +1,35 @@
+# ports collection makefile for: nserver
+# Date created: 7 August 2003
+# Whom: Sergey A. Osokin <osa@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nserver
+PORTVERSION= 1.0.0
+CATEGORIES= misc
+MASTER_SITES= http://www.version6.net/misc/
+
+MAINTAINER= osa@FreeBSD.org
+COMMENT= Nserver for the Nokia 9000 and 9110 Communicator
+# Original site http://www.users.globalnet.co.uk/~syrinx/9110/nserver.html
+# doesn't exist anymore
+
+USE_REINPLACE= yes
+USE_GMAKE= yes
+
+do-patch:
+ @${REINPLACE_CMD} -e "s|-O2|${CFLAGS}|g; \
+ s|ttyS3|cuaa0|g; \
+ s|= LINUX|= BSD|g; \
+ s|^CC|#CC|g" \
+ ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nserver ${PREFIX}/sbin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>