pkgsrc/net/waste/Makefile
jlam ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2004/08/27 06:29:09 jlam Exp $
#
DISTNAME= waste-source
PKGNAME= waste-1.0
CATEGORIES= net
# AOL pulled the plug on Nullsoft
# MASTER_SITES= http://www.nullsoft.com/free/waste/
# HOMEPAGE= http://www.nullsoft.com/free/waste/
MASTER_SITES= http://slackerbitch.free.fr/waste/
MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://www.dhorrocks2003.pwp.blueyonder.co.uk/
COMMENT= Secure file sharing network
WRKSRC= ${WRKDIR}/waste
RESTRICTED= Unclear legal status: AOL claims Nullsoft did not \
release the software at all, while others regard it as \
licensed under the GPL
NO_SRC_ON_FTP= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
USE_BUILDLINK3= yes
MAKE_ENV+= LDFLAGS="-L${BUILDLINK_PREFIX.pthread}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.pthread}/lib"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wastesrv ${PREFIX}/sbin/wastesrv
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/waste
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/waste
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"