diff options
Diffstat (limited to 'lang/ptoc/Makefile')
-rw-r--r-- | lang/ptoc/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/lang/ptoc/Makefile b/lang/ptoc/Makefile new file mode 100644 index 00000000000..a968971b749 --- /dev/null +++ b/lang/ptoc/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: ptoc +# Version required: 2.01 +# Date created: 10 December 1997 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= ptoc +PKGNAME= ptoc-2.01 +CATEGORIES= devel converters x11 +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= devel/lang/pascal +EXTRACT_SUFX= .tgz + +MAINTAINER= andy@icc.surw.chel.su + +WRKSRC= ${WRKDIR}/ptoc +MAKEFILE= makefile + +pre-build: + @ ${RM} ${WRKSRC}/libXbgi.a + @ ${RM} ${WRKSRC}/libptoc.a + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/cganal ${PREFIX}/bin + @ ${INSTALL_PROGRAM} ${WRKSRC}/ptoc ${PREFIX}/bin + @ ${INSTALL_DATA} ${WRKSRC}/ptoc.cfg ${PREFIX}/etc + @ ${INSTALL_DATA} ${WRKSRC}/libptoc.a ${PREFIX}/lib + @ ${INSTALL_DATA} ${WRKSRC}/libXbgi.a ${PREFIX}/lib + @ ${MKDIR} ${PREFIX}/include/ptoc +.for file in array.h graph.h io.h paslib.h ptoc.h set.h + @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/ptoc +.endfor + @ ${MKDIR} ${PREFIX}/share/ptoc +.for file in ptoc.pas tptoc.pas graph.pas + @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/ptoc +.endfor + @ ${MKDIR} ${PREFIX}/share/doc/ptoc + @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ptoc + @ ${INSTALL_DATA} ${WRKSRC}/paslib.doc ${PREFIX}/share/doc/ptoc + @ ${MKDIR} ${PREFIX}/share/examples/ptoc + @ ${INSTALL_DATA} ${FILESDIR}/Makefile ${PREFIX}/share/examples/ptoc +.for file in bgidemo.pas coord.txt hello.pas impact.pas lister.pas polut2.pas printer.pas q2.txt random.txt rename.pas set.pas test.pas tpascal.pas trinor.pas vibrkinp.pas vibrkinp.txt vibrtabl.pas war2.pas xy2orig.txt + @ ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/ptoc +.endfor + +.include <bsd.port.mk> |