8cc46d2efd
per default as of now with the following message: "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" o Any kde-icons-* port that wants to disable such restrictions has only to define WITHOUT_RESTRICTIONS within its port Makefile Reviewed by: markus, #kde-freebsd users Suggested by: lofi
49 lines
1.2 KiB
Text
49 lines
1.2 KiB
Text
# New ports collection makefile for: support skeleton Makefile
|
|
# Date created: Thu Feb 19 23:17:56 UTC 2004
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
CATEGORIES?= x11-themes kde
|
|
PKGNAMEPREFIX= kde-icons-
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER?= lioux@FreeBSD.org
|
|
COMMENT?= KDE iconset theme
|
|
|
|
USE_REINPLACE= yes
|
|
USE_SIZE= 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 <bsd.port.mk>
|