aboutsummaryrefslogtreecommitdiff
path: root/graphics/icon-slicer
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2012-11-30 10:20:29 +0000
committerJason E. Hale <jhale@FreeBSD.org>2012-11-30 10:20:29 +0000
commit1c4cf2f3426912a8626c5e7095148ef52cd8bb05 (patch)
tree0db9fa4019a1866aa9891e6d448d3150aee34bf0 /graphics/icon-slicer
parent427e2cfbb6f6697466b2a868a690bd08fe833279 (diff)
downloadports-1c4cf2f3426912a8626c5e7095148ef52cd8bb05.tar.gz
ports-1c4cf2f3426912a8626c5e7095148ef52cd8bb05.zip
Notes
Diffstat (limited to 'graphics/icon-slicer')
-rw-r--r--graphics/icon-slicer/Makefile27
-rw-r--r--graphics/icon-slicer/pkg-descr8
2 files changed, 12 insertions, 23 deletions
diff --git a/graphics/icon-slicer/Makefile b/graphics/icon-slicer/Makefile
index 48bcc3178cd9..168a501b5ccf 100644
--- a/graphics/icon-slicer/Makefile
+++ b/graphics/icon-slicer/Makefile
@@ -1,21 +1,20 @@
-# New ports collection makefile for: icon-slicer
-# Date created: 29 May 2005
-# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
-#
+# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= icon-slicer
PORTVERSION= 0.3
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= graphics
MASTER_SITES= http://www.freedesktop.org/software/icon-slicer/releases/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= An utility for generating icon and cursor themes
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Utility for generating icon and cursor themes
+
+LICENSE= GPLv2
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt
+USE_PKGCONFIG= build
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -23,19 +22,17 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/icon-slicer
-.if !defined(NOPORTDOCS)
-PORTDOCS= *
-.endif
+PORTDOCS= AUTHORS ChangeLog README TODO
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|examples||' ${WRKSRC}/Makefile.in
-.if !defined(NOPORTDOCS)
post-install:
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-.for f in AUTHORS README TODO
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/graphics/icon-slicer/pkg-descr b/graphics/icon-slicer/pkg-descr
index d7c497785823..2dbbad750fda 100644
--- a/graphics/icon-slicer/pkg-descr
+++ b/graphics/icon-slicer/pkg-descr
@@ -2,20 +2,16 @@ icon-slicer is a utility for generating icon themes and libXcursor cursor
themes.
The inputs to icon-slicer are conceptually:
-
A) a set of multi-layer images, one for each size
B) a XML theme description file
Each image contains all the cursors arranged in a grid; for cursors the
layers are:
-
- a layer with a dot for the hotspot of each cursor
- the main image or first animation frame for multi-frame animated cursors
- the second animation frame for multi-frame animated cursors
- - ...
For icons, the layers are:
-
- a layer with the images
- an optional layer with attachment points for emblems
- an optional layer with boxes for embedding text into icons
@@ -23,8 +19,4 @@ For icons, the layers are:
In practice, since loading of multilayer images is not supported by standard
image libraries, each layer is input as a separate image file.
-The theme description file contains, among other things, information about the
-source images to read, the location of each named cursor or icon within the
-grid, and a set of aliases from names to other names.
-
WWW: http://www.freedesktop.org/wiki/Software/icon-slicer