- Add LICENSE
- Switch to options helpers
This commit is contained in:
parent
216e2f8801
commit
f91cfc17b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408638
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user