1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Remove indefinite article from COMMENT

- Add LICENSE (GPLv2)
- Convert to new options framework
- Add explicit pkgconf build dependency
- Trim Makefile header
- Bump PORTREVISION since a file was added to PORTDOCS
- Trim down pkg-descr a bit
- Pass maintainership to submitter

PR:		ports/173569
Submitted by:	nemysis <nemysis@gmx.ch>
Feature safe:	yes
This commit is contained in:
Jason E. Hale 2012-11-30 10:20:29 +00:00
parent 427e2cfbb6
commit 1c4cf2f342
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308002
2 changed files with 12 additions and 23 deletions

View File

@ -1,21 +1,20 @@
# New ports collection makefile for: icon-slicer # Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
# Date created: 29 May 2005
# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= icon-slicer PORTNAME= icon-slicer
PORTVERSION= 0.3 PORTVERSION= 0.3
PORTREVISION= 7 PORTREVISION= 8
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= http://www.freedesktop.org/software/icon-slicer/releases/ MASTER_SITES= http://www.freedesktop.org/software/icon-slicer/releases/
MAINTAINER= ports@FreeBSD.org MAINTAINER= nemysis@gmx.ch
COMMENT= An utility for generating icon and cursor themes COMMENT= Utility for generating icon and cursor themes
LICENSE= GPLv2
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt LIB_DEPENDS= popt:${PORTSDIR}/devel/popt
USE_PKGCONFIG= build
USE_GNOME= gtk20 USE_GNOME= gtk20
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
@ -23,19 +22,17 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/icon-slicer PLIST_FILES= bin/icon-slicer
.if !defined(NOPORTDOCS) PORTDOCS= AUTHORS ChangeLog README TODO
PORTDOCS= *
.endif .include <bsd.port.options.mk>
post-patch: post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|examples||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/^SUBDIRS/ s|examples||' ${WRKSRC}/Makefile.in
.if !defined(NOPORTDOCS)
post-install: post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR} ${MKDIR} ${DOCSDIR}
.for f in AUTHORS README TODO ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -2,20 +2,16 @@ icon-slicer is a utility for generating icon themes and libXcursor cursor
themes. themes.
The inputs to icon-slicer are conceptually: The inputs to icon-slicer are conceptually:
A) a set of multi-layer images, one for each size A) a set of multi-layer images, one for each size
B) a XML theme description file B) a XML theme description file
Each image contains all the cursors arranged in a grid; for cursors the Each image contains all the cursors arranged in a grid; for cursors the
layers are: layers are:
- a layer with a dot for the hotspot of each cursor - a layer with a dot for the hotspot of each cursor
- the main image or first animation frame for multi-frame animated cursors - the main image or first animation frame for multi-frame animated cursors
- the second animation frame for multi-frame animated cursors - the second animation frame for multi-frame animated cursors
- ...
For icons, the layers are: For icons, the layers are:
- a layer with the images - a layer with the images
- an optional layer with attachment points for emblems - an optional layer with attachment points for emblems
- an optional layer with boxes for embedding text into icons - 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 In practice, since loading of multilayer images is not supported by standard
image libraries, each layer is input as a separate image file. 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 WWW: http://www.freedesktop.org/wiki/Software/icon-slicer