example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
28 lines
761 B
Makefile
28 lines
761 B
Makefile
# $NetBSD: Makefile,v 1.8 2005/12/05 20:50:45 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= ft-0.2.23
|
|
PKGNAME= ${DISTNAME:S/ft-/freenet-tools-/}
|
|
WRKSRC= ${WRKDIR}/ft
|
|
CATEGORIES= net www
|
|
MASTER_SITES= http://entropy.stop1984.com/files/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= tv@duh.org
|
|
HOMEPAGE= http://entropy.stop1984.com/
|
|
COMMENT= Freenet Tools, freesite manipulation tools for Freenet and Entropy
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
MAKE_FLAGS+= CC=${CC:Q} LD=${CC:Q} CFLAGS=${CFLAGS:M*:Q} LDFLAGS=${LDFLAGS:M*:Q}
|
|
CFLAGS+= -DFT_BIN=\"${PREFIX}/bin\"
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ft ${PREFIX}/bin/ft
|
|
.for f in fcpchk fcpget fcpgetsite fcphello fcpinv fcpkey fcpput fcpputsite
|
|
${LN} -s -f ft ${PREFIX}/bin/${f}
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|