1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/x11-toolkits/wmapp/Makefile
Baptiste Daroussin 8142ccc385 - switch to the new project home
- while here remove MD5 in distinfo
2011-03-11 13:34:02 +00:00

46 lines
1.2 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: wmapp
# Date Created: Apr 3, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= wmapp
PORTVERSION= 0.0.4.3
PORTREVISION= 2
CATEGORIES= x11-toolkits windowmaker
MASTER_SITES= http://starplot.org/wmapp/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= A DockApp Graphics Library
USE_XORG= x11 xpm
USE_GMAKE= yes
CFLAGS+= -I${LOCALBASE}/include
ALL_TARGET= # empty
PLIST_FILES= lib/libwmapp.a
post-patch:
@${REINPLACE_CMD} -e "s|export |#export |g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|g" ${WRKSRC}/xwrapper.h
do-install:
@${MKDIR} ${PREFIX}/include/wmapp
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/wmapp
@${FIND} ${PREFIX}/include/wmapp -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm include/wmapp" >> ${TMPPLIST}
${INSTALL_DATA} ${WRKSRC}/libwmapp.a ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in FAQ.txt README Widgets.txt
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@${FIND} ${DOCSDIR} -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
.endif
.include <bsd.port.mk>