1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Use HAS_CONFIGURE

PR:		ports/77964
Submitted by:	Ports Fury
This commit is contained in:
Volker Stolz 2005-02-24 08:35:14 +00:00
parent 33eb3a87dc
commit dfbc54ba10
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129647
2 changed files with 10 additions and 10 deletions

View File

@ -21,20 +21,20 @@ 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 \
's:%%CXX%%:${CXX}:g ; \
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

View File

@ -21,20 +21,20 @@ 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 \
's:%%CXX%%:${CXX}:g ; \
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