aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-06 04:34:23 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-06 04:34:23 +0000
commitcb7d5cc607bbcd6285b960eecd3a1daf1d7e9e1e (patch)
treed206a205dd3870d245c26875f1da2aaa627aad64 /chinese
parent1f53b2d9aff3e353ff1b7dce02999440120dc899 (diff)
downloadports-cb7d5cc607bbcd6285b960eecd3a1daf1d7e9e1e.tar.gz
ports-cb7d5cc607bbcd6285b960eecd3a1daf1d7e9e1e.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/bg5pdf/Makefile2
-rw-r--r--chinese/bg5pdf/pkg-plist8
2 files changed, 6 insertions, 4 deletions
diff --git a/chinese/bg5pdf/Makefile b/chinese/bg5pdf/Makefile
index 156c59b4dbe9..36d5f723ae70 100644
--- a/chinese/bg5pdf/Makefile
+++ b/chinese/bg5pdf/Makefile
@@ -17,6 +17,8 @@ CFLAGS+= -fPIC
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= EXAMPLES
+
post-patch:
${REINPLACE_CMD} -e 's,/usr/bin/python,python,g' ${WRKSRC}/bg5pdf
diff --git a/chinese/bg5pdf/pkg-plist b/chinese/bg5pdf/pkg-plist
index d89888f0f18d..556e91be8a47 100644
--- a/chinese/bg5pdf/pkg-plist
+++ b/chinese/bg5pdf/pkg-plist
@@ -1,7 +1,7 @@
bin/bg5pdf
bin/gbpdf
%%PYTHON_SITELIBDIR%%/bg5pdflib.so
-%%EXAMPLESDIR%%/genTest.py
-%%EXAMPLESDIR%%/test.big5
-%%EXAMPLESDIR%%/test.big5.pdf
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/genTest.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.big5
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.big5.pdf
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%