mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
1c4cf2f342
- 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
39 lines
812 B
Makefile
39 lines
812 B
Makefile
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= icon-slicer
|
|
PORTVERSION= 0.3
|
|
PORTREVISION= 8
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.freedesktop.org/software/icon-slicer/releases/
|
|
|
|
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
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= bin/icon-slicer
|
|
|
|
PORTDOCS= AUTHORS ChangeLog README TODO
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|examples||' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|