aboutsummaryrefslogtreecommitdiff
path: root/graphics/bmeps/Makefile
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-07-31 14:04:58 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2014-07-31 14:04:58 +0000
commitf6218763729a04801322d43847a58e3ee6908c24 (patch)
tree158848e8c5bbbc2673bf6401c35ef1b10c14a034 /graphics/bmeps/Makefile
parent413d2370a34ce1b0b6b8b52c0b6f4f486d24699b (diff)
downloadports-f6218763729a04801322d43847a58e3ee6908c24.tar.gz
ports-f6218763729a04801322d43847a58e3ee6908c24.zip
Notes
Diffstat (limited to 'graphics/bmeps/Makefile')
-rw-r--r--graphics/bmeps/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/bmeps/Makefile b/graphics/bmeps/Makefile
index 4cc5317dcabb..d82866d80f60 100644
--- a/graphics/bmeps/Makefile
+++ b/graphics/bmeps/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bmpp
-PORTVERSION= 3.8.2
+PORTVERSION= 3.16.0
CATEGORIES= graphics perl5
MASTER_SITES= SF/dktools/dktools/dktools-${PORTVERSION}
DISTNAME= dktools-${PORTVERSION}
@@ -25,6 +25,8 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/dktools\
CONFIGURE_ENV= ac_cv_header_sys_termios_h=no
ALL_TARGET= bmpp
+MAKEFILE= GNUmakefile
+USES= gmake
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -37,6 +39,8 @@ pre-patch:
@${REINPLACE_CMD} -e 's@#include <dk3conf.h>@#include <stdio.h>@p'\
-e 's@#include <stdio.h>@#include <dk3conf.h>@'\
${WRKSRC}/dk3types.h
+ ${REINPLACE_CMD} 's|-e "/^SOVERS/cSOVERS=$$VERSNO"|"s/^\(SOVERS.*\)/SOVERS=$$VERSNO/"|'\
+ ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bmpp ${STAGEDIR}${PREFIX}/bin