openbsd-ports/graphics/wmicons/Makefile
2013-03-11 11:10:51 +00:00

53 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2013/03/11 11:10:56 espie Exp $
COMMENT= icons mainly for use in Window Maker
DISTNAME= wmicons-1.0
REVISION= 1
CATEGORIES= graphics x11 x11/windowmaker
# GPL
PERMIT_PACKAGE_CDROM= Yes
DISTFILES= DWiconpack1.tar.gz DWiconpack2.tar.gz IconFest-1.2.tgz \
NeXT_XEmacs_tar.gz wm_icons_png.tar.gz wm_icons_tif.tar.gz
DIST_SUBDIR= wmicons
RUN_DEPENDS= x11/windowmaker
NO_TEST= Yes
NO_BUILD= Yes
PKG_ARCH= *
WMICONDIR= ${PREFIX}/share/WindowMaker/Pixmaps
WMDOCDIR= ${PREFIX}/share/doc/wmicons
post-extract:
cd ${WRKDIR} && tar xf NeXT_XEmacs_tar
do-install:
${INSTALL_DATA_DIR} ${WMDOCDIR} ${WMICONDIR}
cd ${WRKDIR}/IconFest-1.2; \
${INSTALL_DATA} README ${WMDOCDIR}/README.IconFest; \
${INSTALL_DATA} *.xpm *.tif ${WMICONDIR}
cd ${WRKDIR}/NeXT.XEmacs; \
${INSTALL_DATA} README.NeXT.XEmacs ${WMDOCDIR}; \
${INSTALL_DATA} ./*/*.xpm ${WMICONDIR}
cd ${WRKDIR}/dwiconpack1; \
${INSTALL_DATA} dwiconpack1.README ${WMDOCDIR}; \
${INSTALL_DATA} *.tif ${WMICONDIR}
cd ${WRKDIR}/dwiconpack2; \
${INSTALL_DATA} dwiconpack2.README ${WMDOCDIR}; \
${INSTALL_DATA} *.tif ${WMICONDIR}
cd ${WRKDIR}/vf_png; \
${INSTALL_DATA} README ${WMDOCDIR}/README.vf_png; \
${INSTALL_DATA} *.png ${WMICONDIR}
cd ${WRKDIR}/vf_tif; \
${INSTALL_DATA} README ${WMDOCDIR}/README.vf_tif; \
${INSTALL_DATA} *.tif ${WMICONDIR}
.include <bsd.port.mk>