diff options
-rw-r--r-- | cad/z88/Makefile | 30 | ||||
-rw-r--r-- | cad/z88/pkg-plist | 1 |
2 files changed, 13 insertions, 18 deletions
diff --git a/cad/z88/Makefile b/cad/z88/Makefile index 4f78086fecea..c40bacd5e48c 100644 --- a/cad/z88/Makefile +++ b/cad/z88/Makefile @@ -11,7 +11,7 @@ DIST_SUBDIR= z88 EXTRACT_ONLY= ${PORTNAME}130${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org -COMMENT= A compact Finite Element Analysis System +COMMENT= Compact Finite Element Analysis System LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext @@ -24,14 +24,12 @@ USE_GNOME= gtk20 BROWSER?= firefox3 XEDITOR?= gedit +OPTIONS_DEFINE= DOCS + Z88_BINS= z88f z88i1 z88i2 z88com z88d z88e z88g z88h z88n z88o \ z88x z88v Z88_DATA= z88.fcd z88.dyn *.dxf *.txt -NO_STAGE= yes - -.include <bsd.port.options.mk> - post-patch: @${CP} ${WRKSRC}/z88.fcd.linux ${WRKSRC}/z88.fcd @${CP} ${WRKSRC}/z88.mk.kernel.gcc32 ${WRKSRC}/z88.kernel.mk @@ -59,17 +57,15 @@ do-build: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} -f z88.gtk.mk gtk) do-install: - @${MKDIR} ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/z88.sh ${PREFIX}/bin/z88 - @${INSTALL_PROGRAM} ${Z88_BINS:S|^|${WRKSRC}/|} ${PREFIX}/bin - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${Z88_DATA:S|^|${WRKSRC}/|} ${DATADIR} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/*.htm ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/*.gif ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/*.jpg ${DOCSDIR} -.if ${PORT_OPTIONS:MDOCS} - @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/z88mane.pdf ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/z88.sh ${STAGEDIR}${PREFIX}/bin/z88 + ${INSTALL_PROGRAM} ${Z88_BINS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${Z88_DATA:S|^|${WRKSRC}/|} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.htm ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.gif ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.jpg ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/z88mane.pdf ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/cad/z88/pkg-plist b/cad/z88/pkg-plist index 54bb893b3f7d..a9ae181f0f3f 100644 --- a/cad/z88/pkg-plist +++ b/cad/z88/pkg-plist @@ -10,7 +10,6 @@ bin/z88i2 bin/z88n bin/z88o bin/z88v -bin/z88v bin/z88x %%DATADIR%%/b10_2.txt %%DATADIR%%/b10_3.txt |