1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-04-22 08:05:01 +00:00
parent 35500359d7
commit 9a9518997c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351763

View File

@ -10,37 +10,33 @@ MASTER_SITES= http://plhk.ru/static/echinus/
MAINTAINER= hrkfdn@gmail.com
COMMENT= Dynamic window manager for X11 based on dwm
LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
freetype:${PORTSDIR}/print/freetype2 \
expat:${PORTSDIR}/textproc/expat2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libexpat.so:${PORTSDIR}/textproc/expat2 \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
USES= pkgconfig
USE_XORG= x11 xau xcb xdmcp xext xft xrender xrandr
MAN1= echinus.1
MANCOMPRESSED= no
FILES= echinusrc close.xbm iconify.xbm max.xbm
PLIST_FILES= bin/echinus \
etc/echinus/close.xbm \
etc/echinus/iconify.xbm \
etc/echinus/max.xbm \
etc/echinus/echinusrc
etc/echinus/echinusrc \
man/man1/echinus.1.gz
PLIST_DIRS= etc/echinus
SUB_FILES= pkg-message
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} 's|-Os|${CFLAGS}|' ${WRKSRC}/config.mk
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
@${MKDIR} ${ETCDIR}
@${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/,} ${ETCDIR}/
@${CAT} ${PKGMESSAGE}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${ETCDIR}/
.include <bsd.port.mk>