aboutsummaryrefslogtreecommitdiff
path: root/audio/fcplay/Makefile
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-01-02 15:25:39 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-01-02 15:25:39 +0000
commit1657710323a1ba34659638a3d57630e02604eb37 (patch)
treeb9f4958c3b5594b4156efa28325c6fbcb1b2db5b /audio/fcplay/Makefile
parent9cb7b46fd9df5a67b44abd6eaa962231f38b6686 (diff)
downloadports-1657710323a1ba34659638a3d57630e02604eb37.tar.gz
ports-1657710323a1ba34659638a3d57630e02604eb37.zip
Notes
Diffstat (limited to 'audio/fcplay/Makefile')
-rw-r--r--audio/fcplay/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/audio/fcplay/Makefile b/audio/fcplay/Makefile
index bbfa43663331..3c56e43d1c13 100644
--- a/audio/fcplay/Makefile
+++ b/audio/fcplay/Makefile
@@ -16,14 +16,18 @@ MAINTAINER= anders@fix.no
BUILD_DEPENDS= ${LOCALBASE}/include/sidplay/compconf.h:${PORTSDIR}/audio/libsidplay
-CXXFLAGS+= -I${PREFIX}/include -DHAVE_FREEBSD -DHAVE_MACHINE_SOUNDCARD_H
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/fcplay-${PORTVERSION}
+CXXFLAGS+= -I${LOCALBASE}/include
-post-install:
- ${INSTALL} -d -m 555 ${PREFIX}/share/doc/fcplay
- @${INSTALL_DATA} ${WRKSRC}/ABOUT ${PREFIX}/share/doc/fcplay/
- @${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/fcplay/
- @${INSTALL_DATA} ${WRKSRC}/POINTER ${PREFIX}/share/doc/fcplay/
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/fcplay ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/fcplay
+ ${INSTALL_DATA} ${WRKSRC}/ABOUT ${PREFIX}/share/doc/fcplay
+ ${INSTALL_DATA} ${WRKSRC}/POINTER ${PREFIX}/share/doc/fcplay
+.endif
.include <bsd.port.mk>