aboutsummaryrefslogtreecommitdiffstats
path: root/net/xbms/Makefile
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-10-09 04:39:57 +0800
committernaddy <naddy@FreeBSD.org>2003-10-09 04:39:57 +0800
commitbc012d8bd07c7f32434a1b73cfd72b8c05d35747 (patch)
treee239cd61f1e20a3c6777e4937967309ef34c6b28 /net/xbms/Makefile
parenta9ddb2651ca5b05430e4e265cc6bd09bbbca4f12 (diff)
downloadfreebsd-ports-gnome-bc012d8bd07c7f32434a1b73cfd72b8c05d35747.tar.gz
freebsd-ports-gnome-bc012d8bd07c7f32434a1b73cfd72b8c05d35747.tar.zst
freebsd-ports-gnome-bc012d8bd07c7f32434a1b73cfd72b8c05d35747.zip
Add useful rc.d startup script.
PR: 57693 Submitted by: Jose R.Rey <king@v2project.com> Also honor CFLAGS and clean-up install.
Diffstat (limited to 'net/xbms/Makefile')
-rw-r--r--net/xbms/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/xbms/Makefile b/net/xbms/Makefile
index cfa0f61e8f21..0f3c62f06afd 100644
--- a/net/xbms/Makefile
+++ b/net/xbms/Makefile
@@ -20,7 +20,9 @@ USE_REINPLACE= yes
post-patch:
${REINPLACE_CMD} -e 's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/server.c
-post-install:
- ${CP} ${WRKSRC}/xbms.conf ${PREFIX}/etc/xbms.conf.sample
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xbms ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/xbms.conf ${PREFIX}/etc/xbms.conf.sample
+ ${INSTALL_DATA} ${FILESDIR}/xbms.sh.sample ${PREFIX}/etc/rc.d/xbms.sh.sample
.include <bsd.port.mk>