mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
631c06649b
PR: 22253 Submitted by: MAINTAINER
56 lines
1.6 KiB
Makefile
56 lines
1.6 KiB
Makefile
# New ports collection makefile for: ptoc
|
|
# Date created: 10 December 1997
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ptoc
|
|
PORTVERSION= 3.50
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.ispras.ru/~knizhnik/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
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:
|
|
@${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
|
|
.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 graph.pas ptoc.pas tptoc.pas
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/ptoc
|
|
.endfor
|
|
@${MKDIR} ${PREFIX}/share/examples/ptoc
|
|
.for file in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/ptoc
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/ptoc
|
|
${INSTALL_DATA} ${WRKSRC}/Readme.htm ${PREFIX}/share/doc/ptoc
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|