summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/ringtonetools/Makefile12
-rw-r--r--misc/ringtonetools/distinfo4
-rw-r--r--misc/ringtonetools/pkg-plist16
3 files changed, 18 insertions, 14 deletions
diff --git a/misc/ringtonetools/Makefile b/misc/ringtonetools/Makefile
index 52c6d1a..f91b166 100644
--- a/misc/ringtonetools/Makefile
+++ b/misc/ringtonetools/Makefile
@@ -6,18 +6,23 @@
#
PORTNAME= ringtonetools
-PORTVERSION= 2.09
+PORTVERSION= 2.25
CATEGORIES= misc
-MASTER_SITES= http://www.mikekohn.com/ringtonetools/
+MASTER_SITES= http://downloads.mikekohn.net/${PORTNAME}/
MAINTAINER= mike@mikekohn.net
COMMENT= Create/Convert/Listen to ringtones and logos for mobile phones
RESTRICTED= no-commercial-use
+USE_REINPLACE= yes
+
+pre-build:
+ @${REINPLACE_CMD} -e 's|^FLAGS|FLAGS?|' ${WRKSRC}/src/Makefile
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/ringtonetools ${PREFIX}/bin
-.for i in face.icon hemglass.mid ionian.rtttl usa.emelody yngwie_trilogy.rtttl
+.for i in face.txt hemglass.mid ionian.rtttl usa.emelody yngwie_trilogy.rtttl
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/samples/${i} ${DATADIR}
.endfor
@@ -26,5 +31,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/docs/README ${DOCSDIR}
.endif
-
.include <bsd.port.mk>
diff --git a/misc/ringtonetools/distinfo b/misc/ringtonetools/distinfo
index 5b46aa3..34f2bff 100644
--- a/misc/ringtonetools/distinfo
+++ b/misc/ringtonetools/distinfo
@@ -1,2 +1,2 @@
-MD5 (ringtonetools-2.09.tar.gz) = 4c6915d87dcb50111e818188b0cf959f
-SIZE (ringtonetools-2.09.tar.gz) = 25830
+MD5 (ringtonetools-2.25.tar.gz) = 77d4f7069a1b27826fe79f408186c74f
+SIZE (ringtonetools-2.25.tar.gz) = 40151
diff --git a/misc/ringtonetools/pkg-plist b/misc/ringtonetools/pkg-plist
index 643240e..b2a7bcd 100644
--- a/misc/ringtonetools/pkg-plist
+++ b/misc/ringtonetools/pkg-plist
@@ -1,9 +1,9 @@
bin/ringtonetools
-share/ringtonetools/face.icon
-share/ringtonetools/hemglass.mid
-share/ringtonetools/ionian.rtttl
-share/ringtonetools/usa.emelody
-share/ringtonetools/yngwie_trilogy.rtttl
-@dirrm share/ringtonetools
-%%PORTDOCS%%share/doc/ringtonetools/README
-%%PORTDOCS%%@dirrm share/doc/ringtonetools
+%%DATADIR%%/face.txt
+%%DATADIR%%/hemglass.mid
+%%DATADIR%%/ionian.rtttl
+%%DATADIR%%/usa.emelody
+%%DATADIR%%/yngwie_trilogy.rtttl
+@dirrm %%DATADIR%%
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
OpenPOWER on IntegriCloud