aboutsummaryrefslogtreecommitdiff
path: root/archivers/ucl
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-02-27 12:10:37 +0000
committerClement Laforet <clement@FreeBSD.org>2004-02-27 12:10:37 +0000
commit701ab6a48be35a823b6a34cb1fed31071c39ce09 (patch)
tree77d5ff304429710c629373762ccbefb899092e1f /archivers/ucl
parentd3717695d984365bff5d9280bf3d44c7b84fbf6e (diff)
downloadports-701ab6a48be35a823b6a34cb1fed31071c39ce09.tar.gz
ports-701ab6a48be35a823b6a34cb1fed31071c39ce09.zip
Notes
Diffstat (limited to 'archivers/ucl')
-rw-r--r--archivers/ucl/Makefile8
-rw-r--r--archivers/ucl/pkg-plist3
2 files changed, 5 insertions, 6 deletions
diff --git a/archivers/ucl/Makefile b/archivers/ucl/Makefile
index d247459a6967..803dd5f250df 100644
--- a/archivers/ucl/Makefile
+++ b/archivers/ucl/Makefile
@@ -17,13 +17,15 @@ INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --enable-shared
+PORTDOCS= COPYING README
+
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/uclpack \
${PREFIX}/bin/uclpack
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
-.for file in COPYING README
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/${PORTNAME}
+ @${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/archivers/ucl/pkg-plist b/archivers/ucl/pkg-plist
index 743e62b8a848..47aaf53ed07f 100644
--- a/archivers/ucl/pkg-plist
+++ b/archivers/ucl/pkg-plist
@@ -5,7 +5,4 @@ include/ucl/uclconf.h
lib/libucl.a
lib/libucl.so
lib/libucl.so.1
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/ucl