# Created by: Martin Klaffenboeck # $FreeBSD$ PORTNAME= gtklp DISTVERSION= 1.3.3 DISTVERSIONSUFFIX= .src CATEGORIES= print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= GTK interface to cups LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcups.so:print/cups \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= autoreconf gettext libtool pkgconfig GNU_CONFIGURE= yes USE_GNOME= cairo gtk20 INSTALLS_ICONS= yes USE_XORG= x11 DESKTOP_ENTRIES="GtkLP" "" "${PORTNAME}" "${PORTNAME}" "System;GTK;" "" post-install: .for i in 16 24 32 48 64 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps (cd ${WRKSRC}/libgtklp/icons && ${INSTALL_DATA} ${i}x${i}.xpm \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/gtklp.xpm) .endfor .include