b33b309470
While here: - graphics/icoconvert: * Respect CC * Use modern LIB_DEPENDS - net/grdesktop: * Convert gnomehack to pathfix - net/ldapsh: * Use shebangfix instead of custom post-patch target - net-im/py-jabber: * Use autoplist - net-p2p/bnbt: * Use the options framework * Convert to dos2unix * Respect CXX * Do not renamed base on option - sysutils/testdisk: * Update to 6.14 * Use options helpers * Use modern LIB_DEPENDS * Convert USE_BZIP2 -> USES=tar:bzip2
27 lines
684 B
Makefile
27 lines
684 B
Makefile
# Created by: Florent Thoumie <flz@xbsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= icoconvert
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 6
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.mox.net/downloads/ \
|
|
http://www.xunix.org/~flz/distfiles/
|
|
|
|
MAINTAINER= flz@FreeBSD.org
|
|
COMMENT= Small utility to convert Windows icon files into .xpm and .png files
|
|
|
|
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
|
|
|
|
MAKE_ARGS= CC="${CC}"
|
|
|
|
PLIST_FILES= bin/icoconvert
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^icoconvert|all|' -e 's|^\(FLAGS=\)|\1-I${LOCALBASE}/include |' \
|
|
-e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/icoconvert ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|