aboutsummaryrefslogtreecommitdiff
path: root/mail/mmr
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-09-27 18:14:56 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-09-27 18:14:56 +0000
commit69e7c9803420cc778f63d57413842ea47f68c3d8 (patch)
tree7d25449bebacd8356516c60a9c34929fad3ccfe3 /mail/mmr
parent7d819d47f1d51d6e3287f7b2d24be0ff03f47ac0 (diff)
downloadports-69e7c9803420cc778f63d57413842ea47f68c3d8.tar.gz
ports-69e7c9803420cc778f63d57413842ea47f68c3d8.zip
Notes
Diffstat (limited to 'mail/mmr')
-rw-r--r--mail/mmr/Makefile21
-rw-r--r--mail/mmr/pkg-plist9
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