# New ports collection makefile for: support skeleton Makefile # Date created: Thu Feb 19 23:17:56 UTC 2004 # Whom: Mario Sergio Fujikawa Ferreira # # $FreeBSD$ # CATEGORIES?= x11-themes kde PKGNAMEPREFIX= kde-icons- DIST_SUBDIR= KDE MAINTAINER?= lioux@FreeBSD.org COMMENT?= KDE iconset theme USE_REINPLACE= yes NO_BUILD= yes PLIST_SUB+= DIRNAME="${PORT_SHAREDIR}" # default installation directory PORT_SHAREDIR?= ${DISTNAME} .ifndef(WITHOUT_RESTRICTIONS) RESTRICTED?= It may contain iconic, visual, graphical or other\ elements that may not be distributed without the\ consent of either the trademark or the patent holder NO_PACKAGE?= ${RESTRICTED} .endif post-patch: # correctly inherits crystal per default @${REINPLACE_CMD} -E \ -e 's| ||' \ -e 's|^Inherits.*$$|Inherits=crystalsvg|' \ ${WRKSRC}/index.desktop do-install: @${MKDIR} ${PREFIX}/share/icons/${PORT_SHAREDIR} # create dirs @cd ${WRKSRC} ; ${FIND} . -type d ! -empty \ -exec ${MKDIR} -m 0755 \ ${PREFIX}/share/icons/${PORT_SHAREDIR}/"{}" \; # copy files @cd ${WRKSRC} ; ${FIND} . -type f \ -exec ${INSTALL_DATA} ${WRKSRC}/"{}" \ ${PREFIX}/share/icons/${PORT_SHAREDIR}/"{}" \; .include