diff options
author | kevlo <kevlo@FreeBSD.org> | 2000-10-24 16:11:57 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2000-10-24 16:11:57 +0000 |
commit | a48756e15b7ae09bd5610a3ce2d6f52233653280 (patch) | |
tree | f312932fa16d0da5cb0cafeefff59165df9a3555 /lang/ptoc/Makefile | |
parent | 471560b3022b659ced15fa7bb7832197afc5b1f6 (diff) | |
download | FreeBSD-ports-a48756e15b7ae09bd5610a3ce2d6f52233653280.zip FreeBSD-ports-a48756e15b7ae09bd5610a3ce2d6f52233653280.tar.gz |
Upgrade to version 3.50
PR: 22253
Submitted by: MAINTAINER
Diffstat (limited to 'lang/ptoc/Makefile')
-rw-r--r-- | lang/ptoc/Makefile | 62 |
1 files changed, 32 insertions, 30 deletions
diff --git a/lang/ptoc/Makefile b/lang/ptoc/Makefile index 86a1e51..ac004d2 100644 --- a/lang/ptoc/Makefile +++ b/lang/ptoc/Makefile @@ -5,49 +5,51 @@ # $FreeBSD$ # -PORTNAME= ptoc -PORTVERSION= 3.41 -CATEGORIES= lang -MASTER_SITES= ftp://ftp.netsw.org/netsw/SoftEng/Lang/Pascal/ \ - ftp://ftp.u-aizu.ac.jp/pub/lang/netsw/Pascal/ \ - ftp://ftp.ecrc.net/pub/netsw/SoftEng/Lang/Pascal/ +PORTNAME= ptoc +PORTVERSION= 3.50 +CATEGORIES= lang +MASTER_SITES= http://www.ispras.ru/~knizhnik/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org -MAKEFILE= makefile +WRKSRC= ${WRKDIR}/${PORTNAME} -USE_XLIB= yes -WRKSRC= ${WRKDIR}/ptoc +USE_XLIB= yes +USE_BISON= yes + +EXAMPLES= arr.pas bgidemo.pas ccall.pas coord.txt dos.h dos.pas \ + func.pas hello.pas impact.pas lister.pas makefile.bsd \ + nested.pas objpas.pas polut2.pas printer.pas q2.txt \ + random.txt rename.cxx rename.pas set.pas str.pas test.c \ + test.cxx test.pas test.txt tpascal.pas trinor.pas \ + vibrkinp.pas vibrkinp.txt vibrtabl.pas war2.pas war2.txt \ + xy2.txt xy2orig.txt pre-build: - @ ${MV} ${WRKSRC}/makefile.bsd ${WRKSRC}/makefile - @ ${MV} ${WRKSRC}/Xbgi/makefile.bsd ${WRKSRC}/Xbgi/makefile - @ ${MV} ${WRKSRC}/examples/makefile.bsd ${WRKSRC}/examples/makefile + @${LN} -sf makefile.bsd ${WRKSRC}/Makefile + @${LN} -sf makefile.bsd ${WRKSRC}/Xbgi/Makefile 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 + ${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 + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/ptoc .endfor - @ ${MKDIR} ${PREFIX}/share/ptoc + @${MKDIR} ${PREFIX}/share/ptoc .for file in graph.pas ptoc.pas tptoc.pas - @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/ptoc + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/ptoc .endfor - @ ${MKDIR} ${PREFIX}/share/examples/ptoc - @ ${INSTALL_DATA} ${WRKSRC}/examples/makefile ${PREFIX}/share/examples/ptoc/Makefile -.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 war2.txt xy2orig.txt - @ ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/ptoc + @${MKDIR} ${PREFIX}/share/examples/ptoc +.for file in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/ptoc .endfor - -post-install: .if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/ptoc - @ ${INSTALL_DATA} ${WRKSRC}/Readme.htm ${PREFIX}/share/doc/ptoc + @${MKDIR} ${PREFIX}/share/doc/ptoc + ${INSTALL_DATA} ${WRKSRC}/Readme.htm ${PREFIX}/share/doc/ptoc .endif .include <bsd.port.mk> |