mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
62 lines
1.4 KiB
Makefile
62 lines
1.4 KiB
Makefile
# New ports collection makefile for: giFT library
|
|
# Date created: Fri Nov 16 02:47:45 BRST 2001
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= giFT
|
|
PORTVERSION= 0.11.8.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
|
|
|
|
MAINTAINER= shoesoft@gmx.net
|
|
COMMENT= An OpenFT, Gnutella and FastTrack p2p network client
|
|
|
|
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis
|
|
|
|
USE_AUTOTOOLS= libltdl:15
|
|
USE_BZIP2= yes
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
|
LDFLAGS="${LDFLAGS}"
|
|
INSTALLS_SHLIB= yes
|
|
USE_RC_SUBR= yes
|
|
|
|
MAN1= giftd.1
|
|
|
|
DOC_FILES= AUTHORS COPYING src/ChangeLog \
|
|
INSTALL NEWS QUICKSTART README TODO
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
SED_SCRIPT+= -e 's,%%PREFIX%%,${PREFIX},g' \
|
|
-e 's,%%RC_SUBR%%,${RC_SUBR},g'
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
|
|
${WRKSRC}/lib/Makefile.in
|
|
|
|
post-build:
|
|
@${SED} ${SED_SCRIPT} <${FILESDIR}/giftd.sh >${WRKDIR}/giftd.sh
|
|
|
|
post-install:
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/giftd.sh ${PREFIX}/etc/rc.d/
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for doc in ${DOC_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|