diff options
author | pav <pav@FreeBSD.org> | 2003-12-18 03:51:54 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2003-12-18 03:51:54 +0800 |
commit | 3d7cbc063c04701019b2f87c80ba2d70a63330bd (patch) | |
tree | d6314021ce3b34b5f7bdd454ee077596ecf8bc44 /graphics/linux-ac3d/Makefile | |
parent | a8cbfda1f877405a712156cc6dc46bb758f7cd33 (diff) | |
download | freebsd-ports-graphics-3d7cbc063c04701019b2f87c80ba2d70a63330bd.tar.gz freebsd-ports-graphics-3d7cbc063c04701019b2f87c80ba2d70a63330bd.tar.zst freebsd-ports-graphics-3d7cbc063c04701019b2f87c80ba2d70a63330bd.zip |
- Update to 4.0a
- Give maintainership to submitter
PR: ports/60220
Submitted by: Igor Pokrovsky <tiamat@comset.net>
Diffstat (limited to 'graphics/linux-ac3d/Makefile')
-rw-r--r-- | graphics/linux-ac3d/Makefile | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/graphics/linux-ac3d/Makefile b/graphics/linux-ac3d/Makefile index 2154346d631..7307f122ce5 100644 --- a/graphics/linux-ac3d/Makefile +++ b/graphics/linux-ac3d/Makefile @@ -1,19 +1,19 @@ # New ports collection makefile for: linux-ac3d # Date created: 12 July 2002 -# Whom: Igor Pokrovsky <tiamat@telegraph.spb.ru> +# Whom: Igor Pokrovsky <tiamat@comset.net> # # $FreeBSD$ # PORTNAME= ac3d -PORTVERSION= 3.6 +PORTVERSION= 4.0a CATEGORIES= graphics linux MASTER_SITES= http://inivis.swmirror.com/ PKGNAMEPREFIX= linux- -DISTNAME= ac3d${PORTVERSION:S/.//}lx +DISTNAME= ac3dlx${PORTVERSION:R} EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tiamat@comset.net COMMENT= Easy to use and powerful 3D graphics modeller (trial version) .ifdef(INSTALL_DYNLINKED_VERSION) @@ -25,6 +25,8 @@ NO_BUILD= yes ONLY_FOR_ARCHS= i386 WRKSRC= ${WRKDIR}/ac3dlx +PKGMESSAGE= ${WRKDIR}/pkg-message + .ifndef(INSTALL_DYNLINKED_VERSION) PLIST_SUB= DYNAMIC_VERSION="@comment " \ STATIC_VERSION="" @@ -48,6 +50,11 @@ pre-everything:: @${ECHO_MSG} '' .endif +post-patch: + @${CAT} pkg-message | ${SED} -e 's|%%PORTNAME%%|${PORTNAME}|; \ + s|%%PREFIX%%|${PREFIX}|; \ + s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' > ${PKGMESSAGE} + pre-install: # Generate startup script @${ECHO_CMD} "#!${SH}" > ${WRKDIR}/ac3d.sh @@ -68,21 +75,14 @@ do-install: # data @${MKDIR} ${DATADIR} @${MKDIR} ${DATADIR}/lib - @${MKDIR} ${DATADIR}/lib/tcl8.3 - @${INSTALL_DATA} ${WRKSRC}/lib/tcl8.3/tclIndex \ - ${DATADIR}/lib/tcl8.3 - @${INSTALL_DATA} ${WRKSRC}/lib/tcl8.3/*.tcl ${DATADIR}/lib/tcl8.3 - @${INSTALL_DATA} ${WRKSRC}/lib/tcl8.3/license.terms \ - ${DATADIR}/lib/tcl8.3 - @${MKDIR} ${DATADIR}/lib/tk8.3 - @${INSTALL_DATA} ${WRKSRC}/lib/tk8.3/tclIndex ${DATADIR}/lib/tk8.3 - @${INSTALL_DATA} ${WRKSRC}/lib/tk8.3/*.tcl ${DATADIR}/lib/tk8.3 - @${INSTALL_DATA} ${WRKSRC}/lib/tk8.3/license.terms \ - ${DATADIR}/lib/tk8.3 + @${MKDIR} ${DATADIR}/lib/tcl8.4 + @${INSTALL_DATA} ${WRKSRC}/lib/tcl8.4/tclIndex ${DATADIR}/lib/tcl8.4 + @${INSTALL_DATA} ${WRKSRC}/lib/tcl8.4/*.tcl ${DATADIR}/lib/tcl8.4 + @${MKDIR} ${DATADIR}/lib/tk8.4 + @${INSTALL_DATA} ${WRKSRC}/lib/tk8.4/tclIndex ${DATADIR}/lib/tk8.4 + @${INSTALL_DATA} ${WRKSRC}/lib/tk8.4/*.tcl ${DATADIR}/lib/tk8.4 @${MKDIR} ${DATADIR}/tcl @${INSTALL_DATA} ${WRKSRC}/tcl/*.tcl ${DATADIR}/tcl - @${INSTALL_DATA} ${WRKSRC}/font.ac ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/fontwire.ac ${DATADIR} .ifndef (NOPORTDOCS) # docs @${MKDIR} ${DOCSDIR} @@ -91,10 +91,8 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/IMPORTANT ${DOCSDIR} # examples @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/models/* ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/models/samples/* ${EXAMPLESDIR} + @${CAT} ${PKGMESSAGE} .endif -post-install: - @${SED} -e 's|/usr/local/|${PREFIX}/|' ${PKGMESSAGE} - .include <bsd.port.mk> |