30 lines
867 B
Makefile
30 lines
867 B
Makefile
# $NetBSD: Makefile,v 1.3 2004/03/27 21:32:41 wiz Exp $
|
|
|
|
DISTNAME= xchat-systray-integration-2.4.0-src
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
|
PKGREVISION= 1
|
|
CATEGORIES= chat
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xchat2-plugins/}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://blight.altervista.org/index.php?act=Systray
|
|
COMMENT= Systray icon plugin for X-Chat
|
|
|
|
DEPENDS= xchat>=2.0:../../chat/xchat2
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
USE_BUILDLINK3= yes
|
|
USE_GNU_TOOLS+= make
|
|
|
|
SUBST_CLASSES+= cflags
|
|
SUBST_MESSAGE.cflags= "Fixing CFLAGS."
|
|
SUBST_STAGE.cflags= post-patch
|
|
SUBST_FILES.cflags= Makefile
|
|
SUBST_SED.cflags= -e 's|CFLAGS = -O2 -Wall|CFLAGS = ${CFLAGS}|g'
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/systray.so ${LOCALBASE}/lib/xchat/plugins/
|
|
|
|
.include "../../devel/pkgconfig/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|