aboutsummaryrefslogtreecommitdiff
path: root/editors/mp
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2003-02-09 11:28:50 +0000
committerMark Pulford <markp@FreeBSD.org>2003-02-09 11:28:50 +0000
commitfb5ec5dee69da239de03961100ccd2a7606f87e1 (patch)
treed2c6cfdc5a0b4eb32acf90f3f098aa3fcfb2402d /editors/mp
parent91e42972079317a20c6f284968d5041b31eb4bb9 (diff)
downloadports-fb5ec5dee69da239de03961100ccd2a7606f87e1.tar.gz
ports-fb5ec5dee69da239de03961100ccd2a7606f87e1.zip
Notes
Diffstat (limited to 'editors/mp')
-rw-r--r--editors/mp/Makefile8
-rw-r--r--editors/mp/distinfo2
-rw-r--r--editors/mp/pkg-plist2
3 files changed, 9 insertions, 3 deletions
diff --git a/editors/mp/Makefile b/editors/mp/Makefile
index 1b67fc9f335d..1948987f3dc6 100644
--- a/editors/mp/Makefile
+++ b/editors/mp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mp
-PORTVERSION= 3.1.8
+PORTVERSION= 3.2.5
CATEGORIES= editors
MASTER_SITES= http://triptico.dhis.org/download/
@@ -17,10 +17,14 @@ USE_REINPLACE= yes
MAKE_ARGS+= PREFIX="${PREFIX}"
MAKEFILE= makefile
-pre-configure:
+post-patch:
${REINPLACE_CMD} -e "s@gcc -g -Wall@${CC} ${CFLAGS} -Wall@g" ${WRKSRC}/makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mp ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/editors/mp/distinfo b/editors/mp/distinfo
index e7c25a0a2a3b..e76016d62ae1 100644
--- a/editors/mp/distinfo
+++ b/editors/mp/distinfo
@@ -1 +1 @@
-MD5 (mp-3.1.8.tar.gz) = de8b73f2a0aacfc3d1b4494c33b8d97d
+MD5 (mp-3.2.5.tar.gz) = 26dc09240c0b61b501612d21c2f5acfb
diff --git a/editors/mp/pkg-plist b/editors/mp/pkg-plist
index aa962743562f..d99941ba74f6 100644
--- a/editors/mp/pkg-plist
+++ b/editors/mp/pkg-plist
@@ -1 +1,3 @@
bin/mp
+%%PORTDOCS%%share/doc/mp/README.html
+%%PORTDOCS%%@dirrm share/doc/mp