aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mma/Makefile
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2012-04-28 21:32:04 +0800
committernivit <nivit@FreeBSD.org>2012-04-28 21:32:04 +0800
commit43bde4b55076613a76acb4443fface0789cb7d9b (patch)
treebd8c49f852c7813a6ba5c8bd68064d40d6285a7b /audio/mma/Makefile
parent5997d39597a42784ffd056d4aecbbb178903162d (diff)
downloadfreebsd-ports-gnome-43bde4b55076613a76acb4443fface0789cb7d9b.tar.gz
freebsd-ports-gnome-43bde4b55076613a76acb4443fface0789cb7d9b.tar.zst
freebsd-ports-gnome-43bde4b55076613a76acb4443fface0789cb7d9b.zip
- Update to 12.02
- Remove http://nivi.interfree.it from MASTER_SITES - Set USE_PYTHON to -2.7 - The man pages installation is independent from the value of NOPORTDOCS
Diffstat (limited to 'audio/mma/Makefile')
-rw-r--r--audio/mma/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/audio/mma/Makefile b/audio/mma/Makefile
index f0d245f9bc4e..674d15019d7b 100644
--- a/audio/mma/Makefile
+++ b/audio/mma/Makefile
@@ -6,17 +6,16 @@
#
PORTNAME= mma
-DISTVERSION= 1.7
+PORTVERSION= 12.02
PORTREVISION= 0
CATEGORIES= audio
-MASTER_SITES= http://www.mellowood.ca/${PORTNAME}/ \
- http://nivi.interfree.it/distfiles/${PORTNAME}/
-DISTFILES= ${PORTNAME}-bin-${DISTVERSION}.tar.gz
+MASTER_SITES= http://www.mellowood.ca/${PORTNAME}/
+DISTFILES= ${PORTNAME}-bin-${PORTVERSION}.tar.gz
MAINTAINER= nivit@FreeBSD.org
COMMENT= Musical MIDI Accompaniment generator
-USE_PYTHON= 2.5+
+USE_PYTHON= -2.7
OPTIONS= TIMIDITY "Install timidity++ as MIDI player" Off \
PLAYMIDI "Install playmidi as MIDI player" Off
@@ -28,12 +27,13 @@ WRKDOC= ${WRKDIR}/${PORTNAME}-pdf-${DISTVERSION:S,a,,}
MMABIN= ${PREFIX}/bin/mma
-.if !defined (NOPORTDOCS)
-DISTFILES+= ${PORTNAME}-pdf-${DISTVERSION:S,a,,}.tar.gz
.if !defined (NO_INSTALL_MANPAGES)
MAN1= mma.1 mma-renum.1
MAN8= mma-libdoc.8
.endif
+
+.if !defined (NOPORTDOCS)
+DISTFILES+= ${PORTNAME}-pdf-${DISTVERSION:S,a,,}.tar.gz
.endif
post-patch:
@@ -54,10 +54,11 @@ do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/pdf && ${CP} ${WRKDOC}/*.pdf ${DOCSDIR}/pdf/ && \
cd ${WRKSRC}/docs/html && ${COPYTREE_SHARE} . ${DOCSDIR}/html
+.endif
+
.if !defined(NO_INSTALL_MANPAGES)
@cd ${WRKSRC}/docs/man && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1/ && ${INSTALL_MAN} ${MAN8} ${MANPREFIX}/man/man8/
.endif
-.endif
post-install:
${MMABIN} -G