. support STAGE;
. remove the indefinite article from COMMENT; . remove unneeded trailing "/" from target dir at install command.
This commit is contained in:
parent
736907d5b7
commit
a5742d6925
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334471
1 changed files with 3 additions and 4 deletions
|
@ -8,7 +8,7 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A safe integer operation library for C
|
||||
COMMENT= Safe integer operation library for C
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
ALL_TARGET= so
|
||||
|
@ -16,7 +16,6 @@ CFLAGS+= -fPIC
|
|||
PLIST_FILES= include/safe_iop.h \
|
||||
lib/libsafe_iop.so.0
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E -e 's,(^CC[[:space:]]*=.*),#\1,' \
|
||||
-e 's,(^CFLAGS[[:space:]]*)=.*,\1+= -Iinclude,' \
|
||||
|
@ -24,7 +23,7 @@ post-patch:
|
|||
${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/libsafe_iop.so.0 ${PREFIX}/lib/
|
||||
${INSTALL_DATA} ${WRKSRC}/include/safe_iop.h ${PREFIX}/include/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/libsafe_iop.so.0 ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/include/safe_iop.h ${STAGEDIR}${PREFIX}/include
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue