aboutsummaryrefslogtreecommitdiff
path: root/lang/ptoc/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-11-09 01:21:43 +0000
committerSteve Price <steve@FreeBSD.org>1998-11-09 01:21:43 +0000
commit74797c9de6ad893509c90db797bd61b61c05d0a8 (patch)
treef84972a6227e23f9104e559368ef059584caeca5 /lang/ptoc/Makefile
parent32f7d7d09ceddb9f169fc76a5cea037e7bd9fdc9 (diff)
Notes
Diffstat (limited to 'lang/ptoc/Makefile')
-rw-r--r--lang/ptoc/Makefile29
1 files changed, 13 insertions, 16 deletions
diff --git a/lang/ptoc/Makefile b/lang/ptoc/Makefile
index e6b5787f7aa1..1412747c36f7 100644
--- a/lang/ptoc/Makefile
+++ b/lang/ptoc/Makefile
@@ -1,27 +1,23 @@
# New ports collection makefile for: ptoc
-# Version required: 2.01
+# Version required: 3.34
# Date created: 10 December 1997
# Whom: Andrey Zakhvatov
#
-# $Id: Makefile,v 1.4 1998/10/14 03:44:43 jseger Exp $
+# $Id: Makefile,v 1.5 1998/10/14 23:56:40 jseger Exp $
#
-DISTNAME= ptoc
-PKGNAME= ptoc-2.01
+DISTNAME= ptoc_3.34
+PKGNAME= ptoc-3.34
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= devel/lang/pascal
-EXTRACT_SUFX= .tgz
MAINTAINER= andy@icc.surw.chel.su
MAKEFILE= makefile
-USE_GMAKE= yes
-
-pre-build:
- @ ${RM} ${WRKSRC}/libXbgi.a
- @ ${RM} ${WRKSRC}/libptoc.a
+USE_XLIB= yes
+WRKSRC= ${WRKDIR}/ptoc
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/cganal ${PREFIX}/bin
@@ -34,16 +30,17 @@ do-install:
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/ptoc
.endfor
@ ${MKDIR} ${PREFIX}/share/ptoc
-.for file in ptoc.pas tptoc.pas graph.pas
+.for file in graph.pas ptoc.pas tptoc.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/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
.endfor
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${PREFIX}/share/doc/ptoc
+ @ ${INSTALL_DATA} ${WRKSRC}/Readme.htm ${PREFIX}/share/doc/ptoc
+.endif
.include <bsd.port.mk>