diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-09-27 18:14:56 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-09-27 18:14:56 +0000 |
commit | 69e7c9803420cc778f63d57413842ea47f68c3d8 (patch) | |
tree | 7d25449bebacd8356516c60a9c34929fad3ccfe3 /mail | |
parent | - add USE_GCC=2.95 and unbreak this port (diff) |
- add USE_GCC=2.95 and unbreak this port
- utilize DOCSDIR and EXAMPLESDIR
- replace pkg-plist with PORTDOCS, PLIST_FILES and PLIST_DIRS
PR: 72107
Submitted by: leeym
Approved by: portmgr (marcus)
Notes
Notes:
svn path=/head/; revision=118460
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mmr/Makefile | 21 | ||||
-rw-r--r-- | mail/mmr/pkg-plist | 9 |
2 files changed, 10 insertions, 20 deletions
diff --git a/mail/mmr/Makefile b/mail/mmr/Makefile index 1c7617b10165..44c7f1477ff6 100644 --- a/mail/mmr/Makefile +++ b/mail/mmr/Makefile @@ -14,22 +14,21 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Curses based MIME Mail Reader ALL_TARGET= # empty +USE_GCC= 2.95 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile with gcc 3.4.2" -.endif +PORTDOCS= BUGS CHANGES Features README TODO +PLIST_FILES= bin/mmr ${EXAMPLESDIR:S,${PREFIX}/,,}/dot.mmrc.sample +PLIST_DIRS= ${EXAMPLESDIR:S,${PREFIX}/,,} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mmr ${PREFIX}/bin - @${MKDIR} ${PREFIX}/share/examples/mmr - ${INSTALL_DATA} ${WRKSRC}/DOT-mmrc ${PREFIX}/share/examples/mmr/dot.mmrc.sample + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/DOT-mmrc ${EXAMPLESDIR}/dot.mmrc.sample .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/mmr -.for file in BUGS CHANGES Features README TODO - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mmr + @${MKDIR} ${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/mail/mmr/pkg-plist b/mail/mmr/pkg-plist deleted file mode 100644 index 56cbfc135a56..000000000000 --- a/mail/mmr/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -bin/mmr -%%PORTDOCS%%share/doc/mmr/BUGS -%%PORTDOCS%%share/doc/mmr/CHANGES -%%PORTDOCS%%share/doc/mmr/Features -%%PORTDOCS%%share/doc/mmr/README -%%PORTDOCS%%share/doc/mmr/TODO -share/examples/mmr/dot.mmrc.sample -@dirrm share/examples/mmr -%%PORTDOCS%%@dirrm share/doc/mmr |