Add USE_X11. Clear up some warnings.

This commit is contained in:
kevlo 2000-02-02 02:34:02 +00:00
parent f0d10863c0
commit 2ecbe142fc

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2000/02/01 19:43:32 jasoni Exp $
# $OpenBSD: Makefile,v 1.5 2000/02/02 02:34:02 kevlo Exp $
DISTNAME= bluefish-0.3.5
CATEGORIES= www
@ -12,21 +12,31 @@ RUN_DEPENDS= weblint:${PORTSDIR}/www/weblint
LIB_DEPENDS= gtk.1.2:${PORTSDIR}/x11/gtk+ \
gdk_imlib:${PORTSDIR}/graphics/imlib
GTK_CONFIG?= ${X11BASE}/bin/gtk-config
GTK_CONFIG= ${X11BASE}/bin/gtk-config
USE_X11= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
CONFIGURE_ARGS= --with-install-location="${PREFIX}/lib/bluefish"
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="-I${LOCALBASE}/include"
do-install:
@${MKDIR} ${PREFIX}/lib/bluefish
${INSTALL_PROGRAM} ${WRKSRC}/src/bluefish ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/data/php3_functions ${PREFIX}/lib/bluefish
${INSTALL_DATA} ${WRKSRC}/data/rxml_functions ${PREFIX}/lib/bluefish
${INSTALL_DATA} ${WRKSRC}/data/ssi_functions ${PREFIX}/lib/bluefish
${INSTALL_DATA} ${WRKSRC}/po/de.gmo ${PREFIX}/share/locale/de/LC_MESSAGES/bluefish.mo
${INSTALL_DATA} ${WRKSRC}/po/fr.gmo ${PREFIX}/share/locale/fr/LC_MESSAGES/bluefish.mo
${INSTALL_DATA} ${WRKSRC}/po/da.gmo ${PREFIX}/share/locale/da/LC_MESSAGES/bluefish.mo
post-install:
@strip ${PREFIX}/bin/bluefish
.if !defined(NOPORTDOCS)
@echo "===> Installing bluefish docs in ${PREFIX}/share/doc/bluefish"
@echo "===> A manual is available online at http://bluefish.linuxbox.com/manual/"
@mkdir ${PREFIX}/share/doc/bluefish && ${CHMOD} a+rx ${PREFIX}/share/doc/bluefish
@${ECHO} "===> Installing bluefish docs in ${PREFIX}/share/doc/bluefish"
@${ECHO} "===> A manual is available online at http://bluefish.linuxbox.com/manual/"
@${MKDIR} ${PREFIX}/share/doc/bluefish && ${CHMOD} a+rx ${PREFIX}/share/doc/bluefish
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bluefish
.endif