aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-02-24 08:35:14 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-02-24 08:35:14 +0000
commitdfbc54ba10b73b91b5fd2c3b328a4762890aac1a (patch)
treead921687893677c0dc564cfd4e83a830e8151629
parent33eb3a87dc56ee8593ca5603e89e1daa0f63ce5b (diff)
downloadports-dfbc54ba10b73b91b5fd2c3b328a4762890aac1a.tar.gz
ports-dfbc54ba10b73b91b5fd2c3b328a4762890aac1a.zip
Use HAS_CONFIGURE
PR: ports/77964 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=129647
-rw-r--r--deskutils/kdissert/Makefile10
-rw-r--r--deskutils/semantik/Makefile10
2 files changed, 10 insertions, 10 deletions
diff --git a/deskutils/kdissert/Makefile b/deskutils/kdissert/Makefile
index 080ba30e9eb3..7fd0a8990654 100644
--- a/deskutils/kdissert/Makefile
+++ b/deskutils/kdissert/Makefile
@@ -21,6 +21,11 @@ USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_REINPLACE= yes
USE_GMAKE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --qtincludes=${QT_PREFIX}/include \
+ --qtlibs=${QT_PREFIX}/lib \
+ --kdeincluds=${KDE_PREFIX}/include \
+ --kdelibs=${KDE_PREFIX}/lib
post-patch:
@${REINPLACE_CMD} -e \
@@ -28,13 +33,8 @@ post-patch:
s:%%CXXFLAGS%%:${CXXFLAGS} ${PTHREAD_CFLAGS}:g ; \
s:%%LINKFLAGS%%:${PTHREAD_LIBS}:g' ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e \
- 's:-en:-n:g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e \
's:|sed:|gsed:g' ${WRKSRC}/kde.py
-do-configure:
- @cd ${CONFIGURE_WRKSRC} && ./configure --prefix="${PREFIX}"
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/kdissert/kdissert ${PREFIX}/bin
@${MKDIR} ${PREFIX}/lib/kde3
diff --git a/deskutils/semantik/Makefile b/deskutils/semantik/Makefile
index 080ba30e9eb3..7fd0a8990654 100644
--- a/deskutils/semantik/Makefile
+++ b/deskutils/semantik/Makefile
@@ -21,6 +21,11 @@ USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_REINPLACE= yes
USE_GMAKE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --qtincludes=${QT_PREFIX}/include \
+ --qtlibs=${QT_PREFIX}/lib \
+ --kdeincluds=${KDE_PREFIX}/include \
+ --kdelibs=${KDE_PREFIX}/lib
post-patch:
@${REINPLACE_CMD} -e \
@@ -28,13 +33,8 @@ post-patch:
s:%%CXXFLAGS%%:${CXXFLAGS} ${PTHREAD_CFLAGS}:g ; \
s:%%LINKFLAGS%%:${PTHREAD_LIBS}:g' ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e \
- 's:-en:-n:g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e \
's:|sed:|gsed:g' ${WRKSRC}/kde.py
-do-configure:
- @cd ${CONFIGURE_WRKSRC} && ./configure --prefix="${PREFIX}"
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/kdissert/kdissert ${PREFIX}/bin
@${MKDIR} ${PREFIX}/lib/kde3