1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/cad/logisim/Makefile
Baptiste Daroussin b994e947d1 Cleanup plist
2014-12-20 17:28:02 +00:00

37 lines
943 B
Makefile

# $FreeBSD$
PORTNAME= logisim
PORTVERSION= 2.7.1
CATEGORIES= cad java
MASTER_SITES= SF/circuit/2.7.x/2.7.1/
DISTNAME= ${PORTNAME}-generic-${PORTVERSION}
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
MAINTAINER= javad.kouhi@gmail.com
COMMENT= Educational tool for designing and simulating logic circuits
LICENSE= GPLv2
NO_BUILD= yes
USE_JAVA= yes
JAVA_RUN= yes
JAVA_VERSION= 1.6+
PLIST_FILES= ${DATADIR_REL}/${PORTNAME}-generic-${PORTVERSION}${EXTRACT_SUFX} \
bin/${PORTNAME}
DESKTOP_ENTRIES="Logisim" "${COMMENT}" "" "${PORTNAME}" "" false
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}
${ECHO_CMD} -e "#!/bin/sh\nexec ${JAVA} -jar ${DATADIR}/${DISTNAME}${EXTRACT_SUFX}" > ${WRKSRC}/${PORTNAME}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>