# Created by: Yoshihiko Sarumaru # $FreeBSD$ PORTNAME= astah PORTVERSION= 6.7.0 CATEGORIES= devel java MASTER_SITES= # PKGNAMESUFFIX= -community DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION:S!.!_!g}-${REVISION} MAINTAINER= tota@FreeBSD.org COMMENT= Java/UML Object-Oriented Design Tool RESTRICTED= See http://astah.net/faq/community/enduser-license-agreement USE_ZIP= yes USE_JAVA= yes JAVA_VERSION= 1.7+ REVISION= 43495 WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX:S!-!_!} PORTDOCS= API_sample_program_license_agreement.txt \ API_sample_program_license_agreement_ja.txt \ CommandRunner.html CommandRunner_ja.html \ ProductInformation.txt \ api PORTEXAMPLES= astah-key.properties_org Sample.asta PORTDATA= astah-community.jar astah-api.jar astah-gui_en.properties_org \ astah.ico astah-doc.ico Welcome.asta Welcome_ja.asta \ lib template NO_BUILD= yes PLIST_FILES= bin/astah bin/astah-command.sh DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX} DATADIR= ${JAVASHAREDIR}/${PORTNAME}${PKGNAMESUFFIX} REINPLACE_ARGS= -i "" OPTIONS_DEFINE= DOCS EXAMPLES NO_STAGE= yes .include .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) DOWNLOAD_URL= http://members.change-vision.com/files/${PORTNAME}${PKGNAMESUFFIX:S!-!_!}/${PORTVERSION:S!.!_!g}/${DISTFILES} IGNORE= needs you to fetch manually the distribution file\ from ${DOWNLOAD_URL}, \ then place it in ${DISTDIR} and run make again .endif post-patch: .for script in ${PLIST_FILES:S!bin/!!} ${REINPLACE_CMD} -e "s!%%JAVA_HOME%%!${JAVA_HOME}!g; \ s!%%DATADIR%%!${DATADIR}!" \ ${WRKSRC}/${script} .endfor .if ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} 's/png\\/png\//' ${WRKSRC}/api/en/doc/astahAPI_reference.html .endif do-install: .for script in ${PLIST_FILES:S!bin/!!} ${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin .endfor ${MKDIR} ${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${DATADIR}) .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for docfile in ${PORTDOCS:Napi} ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} .endfor ${MKDIR} ${DOCSDIR}/api (cd ${WRKSRC}/api && ${COPYTREE_SHARE} \* ${DOCSDIR}/api) .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR} .for examplefile in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${examplefile} ${EXAMPLESDIR} .endfor .endif .include el/electron4/files/minimist-1.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Add SHA256pav2005-11-251-0/+1
* This port BUILD_DEPENDS on LINUX_BASE_PORT.netchild2005-10-221-0/+3
* Reset bouncing maintainer addresses.linimon2005-10-101-1/+1
* Mega-patch to cleanup the ports infrastructure regarding our linux bits:netchild2005-06-181-3/+3
* Respect the user's USE_LINUX setting.trevor2005-03-021-1/+0
* Say hello to the linux mega patch, it consolidates our linux bits anetchild2005-01-011-0/+3
* Update MASTER_SITE/MAINTAINERvs2004-08-252-3/+3
* - Allow user to redefine installation directorypav2004-04-103-11/+26
* SIZEify (maintainer timeout)trevor2004-03-311-0/+1