pkgsrc/sysutils/sredird/Makefile
wiedi 083bc1c893 Fix build on SunOS:
- link network libs
 - patch Makefile to pass LDFLAGS
 - inclde sys/filio.h for FIONBIO
 - patch cfmakeraw usage
2014-02-16 15:45:52 +00:00

22 lines
628 B
Makefile

# $NetBSD: Makefile,v 1.10 2014/02/16 15:45:52 wiedi Exp $
#
DISTNAME= sredird-2.0.0
CATEGORIES= sysutils
MASTER_SITES= http://www.pcmicro.com/sredird/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pcmicro.com/sredird/
COMMENT= RFC2217 compliant serial port redirector
MAKE_FLAGS+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q}
BUILD_TARGET= sredird
INSTALLATION_DIRS= libexec share/doc
LDFLAGS.SunOS+= -lsocket -lnsl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sredird ${DESTDIR}${PREFIX}/libexec/sredird
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/sredird.README
.include "../../mk/bsd.pkg.mk"