aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-09-02 21:44:36 +0800
committersem <sem@FreeBSD.org>2005-09-02 21:44:36 +0800
commit2787e4edbad48634d016ddf87c761bcd924fb6c6 (patch)
tree7e985ee9a1e095df140185c00db523460b28c850 /misc
parent3d3795ae0a2c8d9dda3a4a3f391260abd2300c71 (diff)
downloadfreebsd-ports-gnome-2787e4edbad48634d016ddf87c761bcd924fb6c6.tar.gz
freebsd-ports-gnome-2787e4edbad48634d016ddf87c761bcd924fb6c6.tar.zst
freebsd-ports-gnome-2787e4edbad48634d016ddf87c761bcd924fb6c6.zip
- Update to 2.25
- Utilize DATADIR and DOCSDIR macros - Respetc CFLAGS PR: ports/84442 Submitted by: Andrej Zverev <az@inec.ru> Approved by: maintainer timeout (a month)
Diffstat (limited to 'misc')
-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 52c6d1a63b6e..f91b1667124d 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 5b46aa3afc8d..34f2bffaf48f 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 643240e0e241..b2a7bcd67f8f 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%%