blob: 34e77a0ef5acb8844d96d687eb69b79a67a273af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= fidocadj
PORTVERSION= 0.24.4
#PORTREVISION= 0
CATEGORIES= cad
MASTER_SITES= SF:src,docs
MASTER_SITE_SUBDIR= ${PORTNAME}/:src ${PORTNAME}/manuals/:docs
DISTFILES= ${PORTNAME}.jar:src
EXTRACT_ONLY=
MAINTAINER= nivit@FreeBSD.org
COMMENT= Easy to use graphical editor for electronics
LICENSE= GPLv3
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
NO_BUILD= yes
SUB_FILES= ${PORTNAME}.sh
JAVA_VERSION= 1.6+
USE_JAVA= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
FDCJ_MANUAL= ${PORTNAME}_manual_en.pdf
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${MKDIR} ${STAGEDIR}${DATADIR}; \
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.jar ${STAGEDIR}${DATADIR}/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
${INSTALL_DATA} ${DISTDIR}/${FDCJ_MANUAL} ${STAGEDIR}${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MDOCS}
DISTFILES+= ${PORTNAME}_manual_en.pdf:docs
.endif
.include <bsd.port.mk>
|