f10270fedf
- simplify addition of png header path
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2002/08/11 06:02:59 brad Exp $
|
|
|
|
COMMENT= "classical hangman game for KDE"
|
|
|
|
DISTNAME= khangman-0.8
|
|
CATEGORIES= education
|
|
|
|
HOMEPAGE= http://edu.kde.org/khangman/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
LIB_DEPENDS= kdecore.4,DCOP,kdeui,kdefx::x11/kde/libs3
|
|
|
|
MODULES= qt3
|
|
|
|
PORTHOME= ${WRKDIR}
|
|
|
|
MAKE_ENV= KDEDIR="${LOCALBASE}"
|
|
# Ensure Qt3 will always be at the front
|
|
MAKE_FLAGS= CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= ${MODQT_CONFIGURE_ARGS}
|
|
CONFIGURE_ARGS+= --disable-debug --enable-final
|
|
CONFIGURE_ARGS+= --disable-threading --disable-mt
|
|
CONFIGURE_ARGS+= --with-extra-libs="${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS+= --with-extra-includes="${LOCALBASE}/include/libpng:${LOCALBASE}/include"
|
|
CONFIGURE_ARGS+= --with-xinerama
|
|
CONFIGURE_ENV= KDEDIR="${LOCALBASE}"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applnk/Applications
|
|
${INSTALL_DATA} ${WRKSRC}/khangman/khangman.desktop \
|
|
${PREFIX}/share/applnk/Applications
|
|
|
|
.include <bsd.port.mk>
|