mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
9d1acc217e
replace pkg-plist with PORTDOCS and PLIST_FILES.
44 lines
1021 B
Makefile
44 lines
1021 B
Makefile
# New ports collection makefile for: xmms-fc
|
|
# Date created: 17 September 2000
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fcplay
|
|
PORTVERSION= 0.0.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ftp://ftp.nuug.no/pub/anders/distfiles/ \
|
|
http://atreides.freenix.no/~anders/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Future Composer Reference Player
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/sidplay/compconf.h:${PORTSDIR}/audio/libsidplay
|
|
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CXXFLAGS+= -I${LOCALBASE}/include
|
|
USE_GCC= 2.95
|
|
PORTDOCS= ABOUT POINTER
|
|
PLIST_FILES= bin/fcplay
|
|
|
|
post-patch:
|
|
.for f in configure Config.h.in
|
|
@${REINPLACE_CMD} -e "s@machine/soundcard\.h@sys/soundcard\.h@g; \
|
|
s@HAVE_MACHINE_SOUNDCARD_H@HAVE_SYS_SOUNDCARD_H@g" \
|
|
${WRKSRC}/${f}
|
|
.endfor
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fcplay ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|