diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-17 22:23:34 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-17 22:23:34 +0000 |
commit | 06e0bf713010c18d039b05b029318bd3a47235e6 (patch) | |
tree | d7aa5d80e61cf6c9d8cfb960936953e9f2012521 /databases/libudbc | |
parent | 4bfcc511c2ff560b7a3b1b9cfc77e688fdb9bf9f (diff) | |
download | ports-06e0bf713010c18d039b05b029318bd3a47235e6.tar.gz ports-06e0bf713010c18d039b05b029318bd3a47235e6.zip |
Notes
Diffstat (limited to 'databases/libudbc')
-rw-r--r-- | databases/libudbc/Makefile | 7 | ||||
-rw-r--r-- | databases/libudbc/pkg-plist | 12 |
2 files changed, 9 insertions, 10 deletions
diff --git a/databases/libudbc/Makefile b/databases/libudbc/Makefile index 2a7df9e4ba88..90673c97b227 100644 --- a/databases/libudbc/Makefile +++ b/databases/libudbc/Makefile @@ -39,17 +39,16 @@ do-install: @${INSTALL} -c -o ${SHAREOWN} -g ${SHAREGRP} -m 755 ${WRKDIR}/udbcsdk/lib/libudbc.la ${PREFIX}/lib @${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m 755 ${WRKDIR}/udbcsdk/lib/libudbc.so ${PREFIX}/lib @${LN} -f ${PREFIX}/lib/libudbc.so ${PREFIX}/lib/libudbc.so.3 -.if !defined(NOPORTSDOC) +.if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} @${INSTALL_DATA} ${WRKDIR}/udbcsdk/doc/udbc.doc ${PREFIX}/share/doc/${PORTNAME} @${INSTALL_DATA} ${WRKDIR}/udbcsdk/doc/udbc.ini ${PREFIX}/share/doc/${PORTNAME}/udbc.ini.sample @${MKDIR} ${PREFIX}/share/examples/${PORTNAME} - @${INSTALL_DATA} ${WRKDIR}/udbcsdk/examples/Makefile ${PREFIX}/share/examples/${PORTNAME}/Makefile - @${PERL} -pi -e "s,../,${PREFIX}/," ${PREFIX}/share/examples/${PORTNAME}/Makefile + @${SED} "s,../,${PREFIX}/," <${WRKDIR}/udbcsdk/examples/Makefile >${PREFIX}/share/examples/${PORTNAME}/Makefile @${INSTALL_DATA} ${WRKDIR}/udbcsdk/examples/udbctest.c ${PREFIX}/share/examples/${PORTNAME} post-install: - @${CAT} pkg-message | ${SED} "s'PREFIX'${PREFIX}'" + @${SED} "s'PREFIX'${PREFIX}'" <pkg-message .endif .include <bsd.port.pre.mk> diff --git a/databases/libudbc/pkg-plist b/databases/libudbc/pkg-plist index 3fe9b2b4e34a..a90c746a6c2d 100644 --- a/databases/libudbc/pkg-plist +++ b/databases/libudbc/pkg-plist @@ -12,10 +12,10 @@ lib/libudbc.la lib/libudbc.so @exec ln %D/lib/libudbc.so %D/lib/libudbc.so.3 @unexec rm %D/lib/libudbc.so.3 -share/doc/libudbc/udbc.doc -share/doc/libudbc/udbc.ini.sample -share/examples/libudbc/Makefile -share/examples/libudbc/udbctest.c +%%PORTDOCS%%share/doc/libudbc/udbc.doc +%%PORTDOCS%%share/doc/libudbc/udbc.ini.sample +%%PORTDOCS%%share/examples/libudbc/Makefile +%%PORTDOCS%%share/examples/libudbc/udbctest.c @dirrm include/udbc -@dirrm share/doc/libudbc -@dirrm share/examples/libudbc +%%PORTDOCS%%@dirrm share/doc/libudbc +%%PORTDOCS%%@dirrm share/examples/libudbc |