diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-05-08 01:21:07 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-05-08 01:21:07 +0800 |
commit | 5daebc4fb068c723122530223b97b7106499cdb6 (patch) | |
tree | 7b7e67ec9e3cb33a81b1f557ee1cda2cf1d44bb8 | |
parent | 806b5e9d1b90283a9714a45832f7d7c284391f95 (diff) | |
download | freebsd-ports-graphics-5daebc4fb068c723122530223b97b7106499cdb6.tar.gz freebsd-ports-graphics-5daebc4fb068c723122530223b97b7106499cdb6.tar.zst freebsd-ports-graphics-5daebc4fb068c723122530223b97b7106499cdb6.zip |
- Unbreak on -CURRENT (patch added)
- Add devel as a secondary category
- Use INSTALL_DATA instead of CP to install documentation
- Only install the .txt/.html/.pdf files, skip supporting files
- Bump PORTREVISION due to changed package
PR: 50921
Submitted by: Sergei Kolobov <sergei@kolobov.com>
-rw-r--r-- | mail/librfc822/Makefile | 7 | ||||
-rw-r--r-- | mail/librfc822/files/patch-lexer.cc | 11 | ||||
-rw-r--r-- | mail/librfc822/pkg-plist | 17 |
3 files changed, 21 insertions, 14 deletions
diff --git a/mail/librfc822/Makefile b/mail/librfc822/Makefile index 1193bb77211..56e856f7487 100644 --- a/mail/librfc822/Makefile +++ b/mail/librfc822/Makefile @@ -8,18 +8,21 @@ PORTNAME= librfc822 PORTVERSION= 1.0 -CATEGORIES= mail +PORTREVISION= 1 +CATEGORIES= mail devel MASTER_SITES= http://cryp.to/librfc822/ MAINTAINER= ports@FreeBSD.org COMMENT= A complete parser for RFC822 addresses +DOCS= readme.html readme.txt user-manual.html user-manual.pdf + do-install: ${INSTALL_DATA} ${WRKSRC}/rfc822.hh ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/librfc822.a ${PREFIX}/lib .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${CP} ${WRKSRC}/documentation/* ${DOCSDIR} + @cd ${WRKSRC}/documentation && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/mail/librfc822/files/patch-lexer.cc b/mail/librfc822/files/patch-lexer.cc new file mode 100644 index 00000000000..e2f50d64f8c --- /dev/null +++ b/mail/librfc822/files/patch-lexer.cc @@ -0,0 +1,11 @@ +--- lexer.cc.orig Mon Apr 14 02:34:51 2003 ++++ lexer.cc Mon Apr 14 02:34:55 2003 +@@ -6,7 +6,7 @@ + #include "rfc822.hh" + using namespace std; + +-ostream & operator<< (ostream & os, const token & t) ++std::ostream & operator<< (std::ostream& os, const token & t) + { + switch(t.type) + { diff --git a/mail/librfc822/pkg-plist b/mail/librfc822/pkg-plist index 60d7cce6c75..6ab9ec7d998 100644 --- a/mail/librfc822/pkg-plist +++ b/mail/librfc822/pkg-plist @@ -1,14 +1,7 @@ include/rfc822.hh lib/librfc822.a -%%PORTDOCS%%share/doc/librfc822/Makefile -%%PORTDOCS%%share/doc/librfc822/index.sgml -%%PORTDOCS%%share/doc/librfc822/peti.css -%%PORTDOCS%%share/doc/librfc822/peti.dsl -%%PORTDOCS%%share/doc/librfc822/purpose.inc -%%PORTDOCS%%share/doc/librfc822/readme.html -%%PORTDOCS%%share/doc/librfc822/readme.sgml -%%PORTDOCS%%share/doc/librfc822/readme.txt -%%PORTDOCS%%share/doc/librfc822/user-manual.html -%%PORTDOCS%%share/doc/librfc822/user-manual.pdf -%%PORTDOCS%%share/doc/librfc822/user-manual.sgml -%%PORTDOCS%%@dirrm share/doc/librfc822 +%%PORTDOCS%%%%DOCSDIR%%/readme.html +%%PORTDOCS%%%%DOCSDIR%%/readme.txt +%%PORTDOCS%%%%DOCSDIR%%/user-manual.html +%%PORTDOCS%%%%DOCSDIR%%/user-manual.pdf +%%PORTDOCS%%@dirrm %%DOCSDIR%% |