1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Do not install license file for well known license

Convert USE_GMAKE-> USES=gmake
Unmute installation
This commit is contained in:
Baptiste Daroussin 2014-01-25 00:19:20 +00:00
parent 701cf71fad
commit 920af6f522
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340961

View File

@ -10,11 +10,9 @@ MAINTAINER= arved@FreeBSD.org
COMMENT= Structured Terminal Forms Language/Library
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USE_LDCONFIG= yes
USE_GMAKE= yes
USES= iconv ncurses
USES= gmake iconv ncurses
ALL_TARGET= libstfl.so
PLIST_FILES= lib/libstfl.so.1 lib/libstfl.so include/stfl.h \
libdata/pkgconfig/stfl.pc
@ -22,8 +20,6 @@ CFLAGS+= -I${LOCALBASE}/include
LDLIBS+= -L${LOCALBASE}/lib
MAKE_ENV= LDLIBS="${LDLIBS}"
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|\.a|.so|g;/ranlib/d;\
s|ar qc|$${CC} $${CFLAGS} $${LDLIBS} -pthread -shared -fPIC -o|;\
@ -43,9 +39,9 @@ post-build:
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} stfl.pc
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/libstfl.so ${STAGEDIR}${PREFIX}/lib/libstfl.so.1
@${LN} -sf ${PREFIX}/lib/libstfl.so.1 ${STAGEDIR}${PREFIX}/lib/libstfl.so
@${INSTALL_DATA} ${WRKSRC}/stfl.h ${STAGEDIR}${PREFIX}/include/
@${INSTALL_DATA} ${WRKSRC}/stfl.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
${INSTALL_PROGRAM} ${WRKSRC}/libstfl.so ${STAGEDIR}${PREFIX}/lib/libstfl.so.1
${LN} -sf ${PREFIX}/lib/libstfl.so.1 ${STAGEDIR}${PREFIX}/lib/libstfl.so
${INSTALL_DATA} ${WRKSRC}/stfl.h ${STAGEDIR}${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/stfl.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
.include <bsd.port.post.mk>
.include <bsd.port.mk>