aboutsummaryrefslogtreecommitdiffstats
path: root/editors/mp
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2003-02-09 19:28:50 +0800
committermarkp <markp@FreeBSD.org>2003-02-09 19:28:50 +0800
commitc40adc405f6b3ca4da3ac6cb4cb2a804cb632d11 (patch)
tree63988c0b9ef27e9deee442509758ca86cdb0c959 /editors/mp
parenta679cc060388a28b735ab0fcf8e3a128b205fd69 (diff)
downloadfreebsd-ports-gnome-c40adc405f6b3ca4da3ac6cb4cb2a804cb632d11.tar.gz
freebsd-ports-gnome-c40adc405f6b3ca4da3ac6cb4cb2a804cb632d11.tar.zst
freebsd-ports-gnome-c40adc405f6b3ca4da3ac6cb4cb2a804cb632d11.zip
Update to 3.2.5.
Add documentation.
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