1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Fixup icons extraction.

This commit is contained in:
Cy Schubert 2009-02-03 01:29:48 +00:00
parent 98f7ad69b6
commit ef954463ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227478
3 changed files with 9 additions and 6 deletions

View File

@ -45,7 +45,8 @@ OPTIONS= ICONS "Install default icon set" on \
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_ICONS)
DISTFILES+= fvwm_icons-20070101.tar.bz2
FVWM_ICONS= fvwm_icons-20070101.tar.bz2
DISTFILES+= ${FVWM_ICONS}
.endif
.if defined(WITHOUT_ICONV)
@ -138,7 +139,7 @@ MLINKS= fvwm.1 fvwm2.1 \
PLIST_SUB+= ICONS=""
post-extract:
@${MKDIR} ${WRKDIR}/icons
@${TAR} -xzf ${DISTDIR}/fvwm_icons.tgz -C ${WRKDIR}/icons
@${TAR} -xzf ${DISTDIR}/${FVWM_ICONS} -C ${WRKDIR}/icons
.else
PLIST_SUB+= ICONS="@comment not installed: "
.endif

View File

@ -11,7 +11,8 @@ PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
http://www.fvwm.org/generated/icon_download/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fvwm_icons-20070101.tar.bz2
FVWM_ICONS= fvwm_icons-20070101.tar.bz2
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${FVWM_ICONS}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= cy@FreeBSD.org
@ -89,7 +90,7 @@ PLIST_SUB+= GTK="@comment not installed: "
post-extract:
@${MKDIR} ${WRKDIR}/icons
@${TAR} -xzf ${DISTDIR}/fvwm_icons.tgz -C ${WRKDIR}/icons
@${TAR} -xyf ${DISTDIR}/${FVWM_ICONS} -C ${WRKDIR}/icons
post-patch:
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \

View File

@ -11,7 +11,8 @@ PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
http://www.fvwm.org/generated/icon_download/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fvwm_icons-20070101.tar.bz2
FVWM_ICONS= fvwm_icons-20070101.tar.bz2
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${FVWM_ICONS}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= cy@FreeBSD.org
@ -89,7 +90,7 @@ PLIST_SUB+= GTK="@comment not installed: "
post-extract:
@${MKDIR} ${WRKDIR}/icons
@${TAR} -xzf ${DISTDIR}/fvwm_icons.tgz -C ${WRKDIR}/icons
@${TAR} -xyf ${DISTDIR}/${FVWM_ICONS} -C ${WRKDIR}/icons
post-patch:
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \