1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Vanilla I. Shu 2014-07-08 07:17:42 +00:00
parent 1f48b5f761
commit 264c9ecbae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361193
2 changed files with 7 additions and 5 deletions

View File

@ -20,13 +20,14 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/win32
MAKE_ARGS+= CC=${PKGNAMEPREFIX}gcc LIBEXE=${PKGNAMEPREFIX}ar
ALL_TARGET= pdcurses.a
NO_STAGE= yes
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/mingw32/include
@${MKDIR} ${STAGEDIR}${PREFIX}/mingw32/lib
.for f in curses.h curspriv.h panel.h term.h
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$f ${PREFIX}/mingw32/include/$f
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$f ${STAGEDIR}${PREFIX}/mingw32/include/$f
.endfor
${INSTALL_DATA} ${WRKSRC}/pdcurses.a ${PREFIX}/mingw32/lib/libpdcurses.a
${LN} -sf libpdcurses.a ${PREFIX}/mingw32/lib/libcurses.a
${LN} -sf libpdcurses.a ${PREFIX}/mingw32/lib/libpanel.a
${INSTALL_DATA} ${WRKSRC}/pdcurses.a ${STAGEDIR}${PREFIX}/mingw32/lib/libpdcurses.a
${LN} -sf libpdcurses.a ${STAGEDIR}${PREFIX}/mingw32/lib/libcurses.a
${LN} -sf libpdcurses.a ${STAGEDIR}${PREFIX}/mingw32/lib/libpanel.a
.include <bsd.port.mk>

View File

@ -5,3 +5,4 @@ mingw32/include/term.h
mingw32/lib/libcurses.a
mingw32/lib/libpanel.a
mingw32/lib/libpdcurses.a
@dirrmtry mingw32/include