aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
Diffstat (limited to 'cad')
-rw-r--r--cad/gtkwave/Makefile20
-rw-r--r--cad/gtkwave/pkg-plist18
2 files changed, 23 insertions, 15 deletions
diff --git a/cad/gtkwave/Makefile b/cad/gtkwave/Makefile
index da44b6488e11..8ca0083a4775 100644
--- a/cad/gtkwave/Makefile
+++ b/cad/gtkwave/Makefile
@@ -10,23 +10,20 @@ DISTNAME= gtkwave-${PORTVERSION}
MAINTAINER= zeising@FreeBSD.org
COMMENT= Electronic Waveform Viewer
-USES= pkgconfig
+USES= desktop-file-utils gmake pkgconfig
GNU_CONFIGURE= yes
-USE_GMAKE= yes
-USE_GNOME= gtk20 desktopfileutils
+USE_GNOME= gtk20
INSTALLS_ICONS= yes
OPTIONS_DEFINE= TCL GCONF
TCL_DESC= Enable support for TCL/TK
+TCL_USES= tk
PORTDOCS= gtkwave.odt
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTCL}
-USE_TCL= 84+
-USE_TK= 84+
CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR}
.else
@@ -38,17 +35,10 @@ CONFIGURE_ARGS+= --with-gconf
USE_GNOME+= gconf2
.endif
-MAN1= ghwdump.1 gtkwave.1 evcd2vcd.1 fst2vcd.1 fstminer.1 lxt2miner.1 \
- lxt2vcd.1 rtlbrowse.1 shmidcat.1 twinwave.1 vcd2fst.1 \
- vcd2lxt.1 vcd2lxt2.1 vcd2vzt.1 vermin.1 vzt2vcd.1 vztminer.1
-MAN5= gtkwaverc.5
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/cad/gtkwave/pkg-plist b/cad/gtkwave/pkg-plist
index 35bf6b6e0a42..5343a63ab5d9 100644
--- a/cad/gtkwave/pkg-plist
+++ b/cad/gtkwave/pkg-plist
@@ -15,6 +15,24 @@ bin/vcd2vzt
bin/vermin
bin/vzt2vcd
bin/vztminer
+man/man1/ghwdump.1.gz
+man/man1/gtkwave.1.gz
+man/man1/evcd2vcd.1.gz
+man/man1/fst2vcd.1.gz
+man/man1/fstminer.1.gz
+man/man1/lxt2miner.1.gz
+man/man1/lxt2vcd.1.gz
+man/man1/rtlbrowse.1.gz
+man/man1/shmidcat.1.gz
+man/man1/twinwave.1.gz
+man/man1/vcd2fst.1.gz
+man/man1/vcd2lxt.1.gz
+man/man1/vcd2lxt2.1.gz
+man/man1/vcd2vzt.1.gz
+man/man1/vermin.1.gz
+man/man1/vzt2vcd.1.gz
+man/man1/vztminer.1.gz
+man/man5/gtkwaverc.5.gz
share/mime/application/vnd.gtkwave-ae2.xml
share/mime/application/vnd.gtkwave-aet.xml
share/mime/application/vnd.gtkwave-evcd.xml