8cff5d54dc
- include sys/cdefs.h in bundled proplib - use nbcompat/endian.h if available
28 lines
668 B
Makefile
28 lines
668 B
Makefile
# $NetBSD: Makefile,v 1.5 2012/03/07 11:39:39 hans Exp $
|
|
|
|
DISTNAME= mtftpd-20080229
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.invisible.ca/~jmcneill/netbsd/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Open-loop multicast TFTP server
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/mtftpd
|
|
|
|
USE_FEATURES+= cdefs
|
|
USE_BSD_MAKEFILE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CFLAGS+= -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR}\"
|
|
CFLAGS.SunOS+= -DMAP_FILE=0
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
INSTALLATION_DIRS+= bin share/examples/mtftpd
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/mtftpd.plist ${DESTDIR}${PREFIX}/share/examples/mtftpd
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|