mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
9a83024028
inttypes.h 2) Add missing USE_PERL5_RUN 3) Bump PORTREVISION due to (2)
50 lines
1.0 KiB
Makefile
50 lines
1.0 KiB
Makefile
# New ports collection makefile for: icoutils
|
|
# Date created: Sun Jun 12 10:19:46 UTC 2005
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= icoutils
|
|
PORTVERSION= 0.26.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
COMMENT= Convert/extract images in Microsoft Windows(R) icon/cursor files
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
|
|
|
USE_GETTEXT= yes
|
|
USE_PERL5_RUN= yes
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
LIBS="-lintl"
|
|
|
|
MAN1= extresso.1 genresscript.1 icotool.1 wrestool.1
|
|
|
|
PLIST_FILES= \
|
|
bin/extresso \
|
|
bin/genresscript \
|
|
bin/icotool \
|
|
bin/wrestool
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -type f -print0 | \
|
|
${XARGS} -0 -x -n 10 \
|
|
${REINPLACE_CMD} -E \
|
|
-e 's|<stdint.h>|<inttypes.h>|' \
|
|
-e 's|/usr/bin/perl|${PERL5}|'
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
USE_GCC=3.4
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|