mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
0d58899761
Feature safe: yes
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# New ports collection makefile for: secretmaryochronicles-music
|
|
# Date created: 5 Aug 2008
|
|
# Whom: Adam Weinberger <adamw@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= secretmaryochronicles-music
|
|
PORTVERSION= 5.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/smclone/Addon%20-%20Music/${PORTVERSION}
|
|
DISTNAME= SMC_Music_${PORTVERSION}_high
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Background music for Secret Maryo Chronicles
|
|
|
|
RUN_DEPENDS= smc:${PORTSDIR}/games/secretmaryochronicles
|
|
|
|
USE_ZIP= yes
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
DATADIR= ${PREFIX}/share/smc
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= Addon_-_Music_Readme.txt
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
# The pointyhat build system doesn't like spaces in $PORTDOCS,
|
|
# so this makes it happier
|
|
${MV} ${WRKSRC}/docs/Addon\ -\ Music\ Readme.txt \
|
|
${WRKSRC}/docs/Addon_-_Music_Readme.txt
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/data && \
|
|
${FIND} music | ${CPIO} -pdmvu ${DATADIR}
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|