diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-10-28 10:07:02 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-10-28 10:07:02 +0000 |
commit | b2ae82ff690bb4d51d2f91f321280b5989478683 (patch) | |
tree | af02cea1b02e9701205298afa1cccf59fccbd939 /math/gracetmpl/Makefile | |
parent | 877638e3a3f4730ecdaef38983fe828684fdee60 (diff) | |
download | FreeBSD-ports-b2ae82ff690bb4d51d2f91f321280b5989478683.zip FreeBSD-ports-b2ae82ff690bb4d51d2f91f321280b5989478683.tar.gz |
add gracetmpl 0.3.1
Provide an easy way to use existing grace-files as a template
Diffstat (limited to 'math/gracetmpl/Makefile')
-rw-r--r-- | math/gracetmpl/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/math/gracetmpl/Makefile b/math/gracetmpl/Makefile new file mode 100644 index 0000000..2a9afcc --- /dev/null +++ b/math/gracetmpl/Makefile @@ -0,0 +1,40 @@ +# ex:ts=8 +# Ports collection makefile for: GraceTMPL +# Date created: Oct 28, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= gracetmpl +PORTVERSION= 0.3.1 +CATEGORIES= math print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Provide an easy way to use existing grace-files as a template + +USE_REINPLACE= yes +USE_PYTHON= yes +USE_GMAKE= yes +ALL_TARGET= all pythonwrap +INSTALL_TARGET= install python_install + +post-extract: + @${CP} -f ${WRKSRC}/Makefile.defs.tmpl ${WRKSRC}/Makefile.defs + +post-patch: + @${REINPLACE_CMD} -e "s|^PREFIX|#PREFIX|" ${WRKSRC}/Makefile.defs + @${REINPLACE_CMD} -e "s@\(gracetmpl\.a\)@lib\1@g" \ + -e "s|make|${GMAKE}|" \ + -e "s|install -D|install|" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s|values\.h|float.h|" ${WRKSRC}/gracetmpl.cpp + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + @${CP} ${WRKSRC}/doc/html/* ${DOCSDIR} +.endif + +.include <bsd.port.mk> |