diff --git a/x11-toolkits/wmapp/Makefile b/x11-toolkits/wmapp/Makefile index d2eeddf16f93..0d11d4c937e4 100644 --- a/x11-toolkits/wmapp/Makefile +++ b/x11-toolkits/wmapp/Makefile @@ -10,13 +10,16 @@ MASTER_SITES= http://starplot.org/wmapp/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= DockApp Graphics Library -OPTIONS_DEFINE= DOCS +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake USE_XORG= x11 xpm CFLAGS+= -I${LOCALBASE}/include ALL_TARGET= # empty +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e "s|export |#export |g" ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|g" ${WRKSRC}/xwrapper.h @@ -25,6 +28,8 @@ do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/wmapp ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/wmapp ${INSTALL_DATA} ${WRKSRC}/libwmapp.a ${STAGEDIR}${PREFIX}/lib + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in FAQ.txt README Widgets.txt ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}