diff options
author | jadawin <jadawin@FreeBSD.org> | 2008-11-07 00:05:24 +0800 |
---|---|---|
committer | jadawin <jadawin@FreeBSD.org> | 2008-11-07 00:05:24 +0800 |
commit | 1b4a282220d59e10cbc0213620f4b284c1581324 (patch) | |
tree | 166a294105a254b75eae44d16c8f9b388a935478 /math | |
parent | abf5c787c3fac9b9227e481f0134394b215e1dc9 (diff) | |
download | freebsd-ports-gnome-1b4a282220d59e10cbc0213620f4b284c1581324.tar.gz freebsd-ports-gnome-1b4a282220d59e10cbc0213620f4b284c1581324.tar.zst freebsd-ports-gnome-1b4a282220d59e10cbc0213620f4b284c1581324.zip |
- Respect NOPORTDOCS
- Remove useless pkg-plist
Noticed by: QAT
Diffstat (limited to 'math')
-rw-r--r-- | math/librandlib/Makefile | 11 | ||||
-rw-r--r-- | math/librandlib/pkg-plist | 8 | ||||
-rw-r--r-- | math/libranlib/Makefile | 11 | ||||
-rw-r--r-- | math/libranlib/pkg-plist | 8 | ||||
-rw-r--r-- | math/randlib/Makefile | 11 | ||||
-rw-r--r-- | math/randlib/pkg-plist | 8 |
6 files changed, 24 insertions, 33 deletions
diff --git a/math/librandlib/Makefile b/math/librandlib/Makefile index 1dde5d649c2c..34b6353e1c00 100644 --- a/math/librandlib/Makefile +++ b/math/librandlib/Makefile @@ -17,14 +17,19 @@ COMMENT= Library of Routines for Random Number Generation USE_LDCONFIG= yes MAKE_ENV= NOPROFILE=true WRKSRC= ${WRKDIR}/${DISTNAME}/src +PORTDOCS= Basegen.c.doc ranlib.c.chs ranlib.c.fdoc +PLIST_FILES= include/ranlib.h \ + lib/libranlib.a \ + lib/libranlib.so \ + lib/libranlib.so.1 post-extract: - @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile + ${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/ranlib - @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/ranlib + ${MKDIR} ${DOCSDIR} + cd ${WRKDIR}/${DISTNAME}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/math/librandlib/pkg-plist b/math/librandlib/pkg-plist deleted file mode 100644 index f59969270e13..000000000000 --- a/math/librandlib/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -include/ranlib.h -lib/libranlib.a -lib/libranlib.so -lib/libranlib.so.1 -share/doc/ranlib/Basegen.c.doc -share/doc/ranlib/ranlib.c.chs -share/doc/ranlib/ranlib.c.fdoc -@dirrm share/doc/ranlib diff --git a/math/libranlib/Makefile b/math/libranlib/Makefile index 1dde5d649c2c..34b6353e1c00 100644 --- a/math/libranlib/Makefile +++ b/math/libranlib/Makefile @@ -17,14 +17,19 @@ COMMENT= Library of Routines for Random Number Generation USE_LDCONFIG= yes MAKE_ENV= NOPROFILE=true WRKSRC= ${WRKDIR}/${DISTNAME}/src +PORTDOCS= Basegen.c.doc ranlib.c.chs ranlib.c.fdoc +PLIST_FILES= include/ranlib.h \ + lib/libranlib.a \ + lib/libranlib.so \ + lib/libranlib.so.1 post-extract: - @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile + ${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/ranlib - @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/ranlib + ${MKDIR} ${DOCSDIR} + cd ${WRKDIR}/${DISTNAME}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/math/libranlib/pkg-plist b/math/libranlib/pkg-plist deleted file mode 100644 index f59969270e13..000000000000 --- a/math/libranlib/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -include/ranlib.h -lib/libranlib.a -lib/libranlib.so -lib/libranlib.so.1 -share/doc/ranlib/Basegen.c.doc -share/doc/ranlib/ranlib.c.chs -share/doc/ranlib/ranlib.c.fdoc -@dirrm share/doc/ranlib diff --git a/math/randlib/Makefile b/math/randlib/Makefile index 1dde5d649c2c..34b6353e1c00 100644 --- a/math/randlib/Makefile +++ b/math/randlib/Makefile @@ -17,14 +17,19 @@ COMMENT= Library of Routines for Random Number Generation USE_LDCONFIG= yes MAKE_ENV= NOPROFILE=true WRKSRC= ${WRKDIR}/${DISTNAME}/src +PORTDOCS= Basegen.c.doc ranlib.c.chs ranlib.c.fdoc +PLIST_FILES= include/ranlib.h \ + lib/libranlib.a \ + lib/libranlib.so \ + lib/libranlib.so.1 post-extract: - @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile + ${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/ranlib - @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/ranlib + ${MKDIR} ${DOCSDIR} + cd ${WRKDIR}/${DISTNAME}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/math/randlib/pkg-plist b/math/randlib/pkg-plist deleted file mode 100644 index f59969270e13..000000000000 --- a/math/randlib/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -include/ranlib.h -lib/libranlib.a -lib/libranlib.so -lib/libranlib.so.1 -share/doc/ranlib/Basegen.c.doc -share/doc/ranlib/ranlib.c.chs -share/doc/ranlib/ranlib.c.fdoc -@dirrm share/doc/ranlib |