aboutsummaryrefslogtreecommitdiff
path: root/lang/ptoc
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:24:35 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:24:35 +0000
commitfb921759707ace68a7e9d3b32c4d6c179381faf4 (patch)
tree7783ff0f0257a62f380e3b38e870e71e9f194186 /lang/ptoc
parentb26a28d61964b5c5877f0d97003ba7d9ec101b09 (diff)
downloadports-fb921759707ace68a7e9d3b32c4d6c179381faf4.tar.gz
ports-fb921759707ace68a7e9d3b32c4d6c179381faf4.zip
Notes
Diffstat (limited to 'lang/ptoc')
-rw-r--r--lang/ptoc/Makefile4
-rw-r--r--lang/ptoc/pkg-plist70
2 files changed, 37 insertions, 37 deletions
diff --git a/lang/ptoc/Makefile b/lang/ptoc/Makefile
index 5a65f628d8c3..3064b95b59ee 100644
--- a/lang/ptoc/Makefile
+++ b/lang/ptoc/Makefile
@@ -22,6 +22,8 @@ EXAMPLES= arr.pas bgidemo.pas ccall.pas coord.txt dos.h dos.pas \
vibrkinp.pas vibrkinp.txt vibrtabl.pas war2.pas war2.txt \
xy2.txt xy2orig.txt
+OPTIONS_DEFINE= DOCS EXAMPLES
+
pre-build:
@${LN} -sf makefile.bsd ${WRKSRC}/Makefile
@${LN} -sf makefile.bsd ${WRKSRC}/Xbgi/Makefile
@@ -44,9 +46,7 @@ do-install:
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Readme.htm ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/lang/ptoc/pkg-plist b/lang/ptoc/pkg-plist
index bdabdd6dbee7..46f2d45db906 100644
--- a/lang/ptoc/pkg-plist
+++ b/lang/ptoc/pkg-plist
@@ -10,44 +10,44 @@ include/ptoc/set.h
lib/libXbgi.a
lib/libptoc.a
%%PORTDOCS%%%%DOCSDIR%%/Readme.htm
-%%EXAMPLESDIR%%/arr.pas
-%%EXAMPLESDIR%%/bgidemo.pas
-%%EXAMPLESDIR%%/ccall.pas
-%%EXAMPLESDIR%%/coord.txt
-%%EXAMPLESDIR%%/dos.h
-%%EXAMPLESDIR%%/dos.pas
-%%EXAMPLESDIR%%/func.pas
-%%EXAMPLESDIR%%/hello.pas
-%%EXAMPLESDIR%%/impact.pas
-%%EXAMPLESDIR%%/lister.pas
-%%EXAMPLESDIR%%/makefile.bsd
-%%EXAMPLESDIR%%/nested.pas
-%%EXAMPLESDIR%%/objpas.pas
-%%EXAMPLESDIR%%/polut2.pas
-%%EXAMPLESDIR%%/printer.pas
-%%EXAMPLESDIR%%/q2.txt
-%%EXAMPLESDIR%%/random.txt
-%%EXAMPLESDIR%%/rename.cxx
-%%EXAMPLESDIR%%/rename.pas
-%%EXAMPLESDIR%%/set.pas
-%%EXAMPLESDIR%%/str.pas
-%%EXAMPLESDIR%%/test.c
-%%EXAMPLESDIR%%/test.cxx
-%%EXAMPLESDIR%%/test.pas
-%%EXAMPLESDIR%%/test.txt
-%%EXAMPLESDIR%%/tpascal.pas
-%%EXAMPLESDIR%%/trinor.pas
-%%EXAMPLESDIR%%/vibrkinp.pas
-%%EXAMPLESDIR%%/vibrkinp.txt
-%%EXAMPLESDIR%%/vibrtabl.pas
-%%EXAMPLESDIR%%/war2.pas
-%%EXAMPLESDIR%%/war2.txt
-%%EXAMPLESDIR%%/xy2.txt
-%%EXAMPLESDIR%%/xy2orig.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arr.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgidemo.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ccall.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/coord.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dos.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dos.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/func.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/impact.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lister.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/makefile.bsd
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nested.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/objpas.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/polut2.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/printer.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/q2.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/random.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rename.cxx
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rename.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/set.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/str.pas
+%%PORTEXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.cxx
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tpascal.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/trinor.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vibrkinp.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vibrkinp.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vibrtabl.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/war2.pas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/war2.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xy2.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xy2orig.txt
%%DATADIR%%/graph.pas
%%DATADIR%%/ptoc.pas
%%DATADIR%%/tptoc.pas
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/ptoc