diff options
Diffstat (limited to 'databases/adstudio/Makefile')
-rw-r--r-- | databases/adstudio/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/databases/adstudio/Makefile b/databases/adstudio/Makefile index 04302bba0116..08a556d52626 100644 --- a/databases/adstudio/Makefile +++ b/databases/adstudio/Makefile @@ -6,13 +6,12 @@ # PORTNAME= adstudio -PORTVERSION= 4.7.2 -PORTREVISION= 1 +PORTVERSION= 6.5.9 CATEGORIES= databases devel java -MASTER_SITES= http://download.aquafold.com/download/v${PORTVERSION}/linux/ -DISTNAME= ads-linux-novm-${PORTVERSION} +MASTER_SITES= http://download.aquafold.com/download/v${PORTVERSION:R}.0/java/ +DISTNAME= ads-java-novm-${PORTVERSION} -MAINTAINER= thierry@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= A database query and administration tool RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper @@ -28,15 +27,19 @@ WRKSRC= ${WRKDIR}/datastudio INSTFILES= License.txt PAD_FILE.XML changelog.txt datastudio.gif \ datastudio.ico lib license +EXTRACT_AFTER_ARGS=|${TAR} -xpf - ./datastudio/datastudio.sh pre-configure: ${REINPLACE_CMD} -e "s|%%ADS_HOME%%|${DATADIR}|" \ - -e "s|^java |JAVA_VERSION=${JAVA_VERSION} ${LOCALBASE}/bin/java -Xmx256M |" \ + -e "s|^java |JAVA_VERSION=${JAVA_VERSION} exec ${LOCALBASE}/bin/java -Xmx256M |" \ ${WRKSRC}/datastudio.sh do-install: ${MKDIR} ${DATADIR} - ${CP} -R ${INSTFILES:S|^|${WRKSRC}/|} ${DATADIR} + ${TAR} -C ${DATADIR} -xpf ${DISTDIR}/${_DISTFILES} \ + ${INSTFILES:S|^|./datastudio/|} + ${MV} ${DATADIR}/datastudio/* ${DATADIR} + ${RMDIR} ${DATADIR}/datastudio ${INSTALL_SCRIPT} ${WRKSRC}/datastudio.sh ${PREFIX}/bin post-install: |