2003-08-07 15:44:06 +00:00
|
|
|
# ports collection makefile for: nserver
|
|
|
|
# Date created: 7 August 2003
|
|
|
|
# Whom: Sergey A. Osokin <osa@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nserver
|
|
|
|
PORTVERSION= 1.0.0
|
2004-02-13 17:38:02 +00:00
|
|
|
PORTREVISION= 2
|
2003-08-07 15:44:06 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://www.version6.net/misc/
|
|
|
|
|
2004-05-14 12:54:10 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-08-07 15:44:06 +00:00
|
|
|
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_GMAKE= yes
|
|
|
|
|
2004-02-13 17:38:02 +00:00
|
|
|
PLIST_FILES= sbin/nserver
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
PLIST_FILES+= share/doc/nserver/README
|
|
|
|
PLIST_DIRS= share/doc/nserver
|
|
|
|
.endif
|
|
|
|
|
2004-09-19 01:33:42 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-01-24 13:55:39 +00:00
|
|
|
OPSYS= BSD
|
2004-09-19 01:33:42 +00:00
|
|
|
|
2003-08-07 15:44:06 +00:00
|
|
|
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
|
|
|
|
|
2004-09-19 01:33:42 +00:00
|
|
|
.include <bsd.port.post.mk>
|