aboutsummaryrefslogtreecommitdiff
path: root/misc/kde3-i18n-nn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kde3-i18n-nn/Makefile')
-rw-r--r--misc/kde3-i18n-nn/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/misc/kde3-i18n-nn/Makefile b/misc/kde3-i18n-nn/Makefile
index e94cb79ca4aa..09e2da57fbf6 100644
--- a/misc/kde3-i18n-nn/Makefile
+++ b/misc/kde3-i18n-nn/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kde-i18n
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.2
CATEGORIES?= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,6 +14,8 @@ DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
+ automake14:${PORTSDIR}/devel/automake14
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
USE_KDELIBS_VER=2
@@ -25,7 +27,18 @@ GNU_CONFIGURE= yes
PLIST= ${WRKDIR}/PLIST
SCRIPTS_ENV+= PLIST=${PLIST}
+.include <bsd.port.pre.mk>
+
pre-configure:
+ ${MKDIR} ${WRKSRC}/auto-bin
+.for AC in autoconf autoheader
+ ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
+.endfor
+.for AM in automake aclocal
+ ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
+.endfor
+ cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
+ ${GMAKE} -f Makefile.cvs
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/Configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>