Make it PREFIX-safe.

Submitted by:	will
This commit is contained in:
R. Imura 2000-10-23 16:09:07 +00:00
parent 49bb590077
commit 9fbd04e5bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34142
8 changed files with 88 additions and 14 deletions

View file

@ -19,9 +19,19 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
USE_BZIP2= yes
USE_QT= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= "--prefix=$(PREFIX)"
CONFIGURE_ARGS= "--prefix=$(PREFIX)" \
"--with-qt-includes=${QTDIR}/include/X11/qt" \
"--with-extra-includes=${LOCALBASE}/include" \
"--with-extra-libs=${LOCALBASE}/lib"
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" \
INSTALL_SCRIPT="install -c -m 555"
INSTALL_SCRIPT="install -c -m 555" \
QTDIR=${QTDIR}
USE_GMAKE= yes
.if defined(PREFIX)
QTDIR?= ${PREFIX}
.else
QTDIR?= ${X11BASE}
.endif
.include <bsd.port.mk>

View file

@ -21,7 +21,15 @@ USE_QT= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --without-libjpeg --without-libgif \
--without-libgdbm --without-libuulib
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555"
--without-libgdbm --without-libuulib \
--with-qt-includes=${QTDIR}/include/X11/qt
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555" \
QTDIR=${QTDIR}
.if defined(PREFIX)
QTDIR?= ${PREFIX}
.else
QTDIR?= ${X11BASE}
.endif
.include <bsd.port.mk>

View file

@ -22,6 +22,16 @@ USE_BZIP2= yes
USE_QT= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555"
CONFIGURE_ARGS= "--with-qt-includes=${QTDIR}/include/X11/qt" \
"--with-extra-includes=${LOCALBASE}/include" \
"--with-extra-libs=${LOCALBASE}/lib"
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555" \
QTDIR=${QTDIR}
.if defined(PREFIX)
QTDIR?= ${PREFIX}
.else
QTDIR?= ${X11BASE}
.endif
.include <bsd.port.mk>

View file

@ -20,10 +20,20 @@ LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
USE_BZIP2= yes
USE_QT= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= "--prefix=$(PREFIX)"
CONFIGURE_ARGS= "--prefix=$(PREFIX)" \
"--with-qt-includes=${QTDIR}/include/X11/qt" \
"--with-extra-includes=${LOCALBASE}/include" \
"--with-extra-libs=${LOCALBASE}/lib"
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" \
INSTALL_SCRIPT="install -c -m 555"
INSTALL_SCRIPT="install -c -m 555" \
QTDIR=${QTDIR}
CFLAGS+= "-I${PREFIX}/include"
USE_GMAKE= yes
.if defined(PREFIX)
QTDIR?= ${PREFIX}
.else
QTDIR?= ${X11BASE}
.endif
.include <bsd.port.mk>

View file

@ -23,8 +23,16 @@ LIB_DEPENDS= kdecore.3:${PORTSDIR}/x11/kdelibs11
USE_BZIP2= yes
USE_QT= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-extra-includes=$(PREFIX)/include
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555"
CONFIGURE_ARGS= --with-extra-includes=$(PREFIX)/include \
--with-qt-includes=${QTDIR}/include/X11/qt
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555" \
QTDIR=${QTDIR}
USE_GMAKE= yes
.if defined(PREFIX)
QTDIR?= ${PREFIX}
.else
QTDIR?= ${X11BASE}
.endif
.include <bsd.port.mk>

View file

@ -29,8 +29,18 @@ LIB_DEPENDS= uu.1:${PORTSDIR}/converters/uulib \
USE_BZIP2= yes
USE_QT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555"
CONFIGURE_ARGS= "--with-qt-includes=${QTDIR}/include/X11/qt" \
"--with-extra-includes=${LOCALBASE}/include" \
"--with-extra-libs=${LOCALBASE}/lib"
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555" \
QTDIR=${QTDIR}
USE_GMAKE= yes
CFLAGS+= "-I${PREFIX}/include"
.if defined(PREFIX)
QTDIR?= ${PREFIX}
.else
QTDIR?= ${X11BASE}
.endif
.include <bsd.port.mk>

View file

@ -28,13 +28,23 @@ USE_BZIP2= yes
USE_QT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-xdmdir=${X11BASE}/lib/X11/xdm
CONFIGURE_ARGS= --with-qt-includes=${QTDIR}/include/X11/qt \
--with-extra-includes=${LOCALBASE}/include \
--with-extra-libs=${LOCALBASE}/lib \
--with-xdmdir=${X11BASE}/lib/X11/xdm
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS) -DHAVE_GETUSERSHELL -DTIME_WITH_SYS_TIME" \
INSTALL_SCRIPT="install -c -m 555" PATH="${PATH}:${X11BASE}/bin" \
RUN_KAPPFINDER="no"
RUN_KAPPFINDER="no" \
QTDIR=${QTDIR}
MAKE_ENV= RM=${RM}
CFLAGS+= "-I$(PREFIX)/include"
.if defined(PREFIX)
QTDIR?= ${PREFIX}
.else
QTDIR?= ${X11BASE}
.endif
pre-patch:
@${CP} ${FILESDIR}/ja.kimap ${WRKSRC}/kikbd/maps

View file

@ -34,9 +34,17 @@ INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS=
CONFIGURE_ARGS= --enable-shared --x-includes="$(X11BASE)/include" \
--x-libraries="$(X11BASE)/lib" --disable-static
--x-libraries="$(X11BASE)/lib" --disable-static \
--with-qt-includes=${QTDIR}/include/X11/qt
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
LDFLAGS="-L${LOCALBASE}/lib" \
QTDIR=${QTDIR}
.if defined(PREFIX)
QTDIR?= ${PREFIX}
.else
QTDIR?= ${X11BASE}
.endif
# generate KDE style mtree
MTREE_CMD= ${CAT} ${MTREE_FILE} ${FILESDIR}/kde.dist | /usr/sbin/mtree