freebsd-ports/x11/xxkb/Makefile
Timur I. Bakeyev 37f8c3b9a8 Update port to the new version 1.11 and add optional SVG support.
PR:		ports/113798
Submitted by:	timur
Approved by:	Alexander Pohoyda <alexander.pohoyda@gmx.net> (maintainer),
		shaun (mentor)
2007-06-18 08:50:51 +00:00

41 lines
891 B
Makefile

# New ports collection makefile for: xxkb
# Date created: 5 Mar 2001
# Whom: Alexander Matey <matey@cis.ohio-state.edu>
#
# $FreeBSD$
#
PORTNAME= xxkb
PORTVERSION= 1.11
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xxkb
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= alexander.pohoyda@gmx.net
COMMENT= An XKB keyboard layout switcher and indicator
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_XPM= yes
USE_IMAKE= yes
MAN1= xxkb.1
OPTIONS= LIBRSVG "With SVG(librsvg2) support" off
.include <bsd.port.pre.mk>
.if defined(WITH_LIBRSVG)
LIB_DEPENDS+= rsvg-2.2:${PORTSDIR}/graphics/librsvg2
XMKMF= xmkmf -a -DWITH_SVG_SUPPORT
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for file in LICENSE README CHANGES.koi8 README.koi8
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.post.mk>