diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-06-07 01:31:38 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-06-07 01:31:38 +0800 |
commit | 264dee0cdc82d0195366948721e8e02dce7a9a11 (patch) | |
tree | a055cb6dd21207d479ab4a5c1d16d4a97ff0ef6e /devel/radrails | |
parent | de74404ee1cc6d88cbe89e4488379bf0e88fe2a2 (diff) | |
download | freebsd-ports-gnome-264dee0cdc82d0195366948721e8e02dce7a9a11.tar.gz freebsd-ports-gnome-264dee0cdc82d0195366948721e8e02dce7a9a11.tar.zst freebsd-ports-gnome-264dee0cdc82d0195366948721e8e02dce7a9a11.zip |
- Update to 0.6.4
- Mark broken on 4.x
PR: ports/98518
Submitted by: maintainer
Approved by: lawrance (mentor, implicit)
Diffstat (limited to 'devel/radrails')
-rw-r--r-- | devel/radrails/Makefile | 30 | ||||
-rw-r--r-- | devel/radrails/distinfo | 6 | ||||
-rw-r--r-- | devel/radrails/pkg-plist | 1 |
3 files changed, 21 insertions, 16 deletions
diff --git a/devel/radrails/Makefile b/devel/radrails/Makefile index 683a78e4985a..7d8e281b8a4e 100644 --- a/devel/radrails/Makefile +++ b/devel/radrails/Makefile @@ -6,7 +6,7 @@ # PORTNAME= radrails -PORTVERSION= 0.6.2 +PORTVERSION= 0.6.4 CATEGORIES= devel ruby java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -28,7 +28,6 @@ USE_LINUX= yes USE_JAVA= yes JAVA_VERSION= 1.4+ JAVA_OS= linux -PLIST= ${WRKDIR}/PLIST ICONDIR= icons ICON= ${ICONDIR}/radrails.png @@ -41,29 +40,36 @@ DESKTOP_ENTRIES= \ "Development;IDE;" \ true -FIND_ARGS= -s -d . +PLIST_FILES= %%DATADIR%%/${ICON} bin/radrails +PLIST_DIRS= %%DATADIR%%/${ICONDIR} .include <bsd.port.pre.mk> -do-configure: +.if ${OSVERSION} < 500000 +BROKEN= does not build +.endif + +#do-configure: pre-install: (cd ${WRKDIR}; jar -xf ${WRKSRC}/plugins/org.radrails.ide.ui_${PORTVERSION}.jar ${ICON}) - ${ECHO} "%%DATADIR%%/${ICON}" >> ${PLIST} ${CP} ${FILESDIR}/radrails.sh ${WRKDIR}/radrails.sh ${REINPLACE_CMD} -E -e "s|%%DATADIR%%|${DATADIR}|g; s|%%JAVA%%|${JAVA}|g" ${WRKDIR}/radrails.sh - ${ECHO} "bin/radrails" >> ${PLIST} - ( cd ${WRKSRC} ; \ - ${FIND} ${FIND_ARGS} -type f | ${SED} 's|^|%%DATADIR%%/|g' >> ${PLIST} ; \ - ${FIND} ${FIND_ARGS} -type d -and -not -name '.' | ${SED} 's|^|@dirrm %%DATADIR%%/|g' >> ${PLIST} ) - ${ECHO} "@dirrm %%DATADIR%%/${ICONDIR}" >>${PLIST} - ${ECHO} '@dirrm %%DATADIR%%' >> ${PLIST} do-install: ${MKDIR} ${DATADIR} - ( cd ${WRKSRC} ; ${CP} -Rv `ls -a | ${EGREP} -v '^\.{1,2}$$'` ${DATADIR}/ ) + ( cd ${WRKSRC} \ + && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/\{} \; \ + && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DATADIR}/\{} \; ) ${MKDIR} ${DATADIR}/${ICONDIR} ${INSTALL_DATA} ${WRKDIR}/${ICON} ${DATADIR}/${ICON} ${INSTALL_SCRIPT} ${WRKDIR}/radrails.sh ${PREFIX}/bin/radrails +post-install: + @cd ${WRKSRC} \ + && ${FIND} -s . -type f \ + | ${SED} 's,^\.,${DATADIR:S,^${PREFIX}/,,},' >>${TMPPLIST} \ + && ${FIND} -s -d . -type d \ + | ${SED} 's,^\.,@dirrm ${DATADIR:S,^${PREFIX}/,,},' >>${TMPPLIST} + .include <bsd.port.post.mk> diff --git a/devel/radrails/distinfo b/devel/radrails/distinfo index 3c0fd62ab7a4..f71d7be81671 100644 --- a/devel/radrails/distinfo +++ b/devel/radrails/distinfo @@ -1,3 +1,3 @@ -MD5 (radrails-0.6.2-linux.zip) = 819386b0c41bbd2a2f53cd2d1b51e9c4 -SHA256 (radrails-0.6.2-linux.zip) = b5404948f4bdd91a5d239e06b8ff2ffaf6d6bc7c3d5787869fadbd63a2808c3d -SIZE (radrails-0.6.2-linux.zip) = 38984470 +MD5 (radrails-0.6.4-linux.zip) = f96d3bc42969695efbfac1ad85351ed8 +SHA256 (radrails-0.6.4-linux.zip) = f879ca2a1320570c31188aeb29ce555a517672a00059aa543e83b4084147bb22 +SIZE (radrails-0.6.4-linux.zip) = 39138982 diff --git a/devel/radrails/pkg-plist b/devel/radrails/pkg-plist deleted file mode 100644 index 8fb5cc4556d5..000000000000 --- a/devel/radrails/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -@comment $FreeBSD$ |