1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

devel/libastylej: Update to version 3.0.1.

This commit is contained in:
Boris Samorodov 2017-08-07 19:57:28 +00:00
parent 327751a539
commit 41ce785091
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447516
2 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libastylej
PORTVERSION= 2.05.1
PORTVERSION= 3.0.1
CATEGORIES= devel java textproc
MASTER_SITES= SF/astyle/astyle/astyle%20${PORTVERSION}
PKGNAMESUFFIX?= # for slave port
@ -22,17 +22,17 @@ MAKE_ARGS+= JAVA_HOME=${JAVA_HOME}
WRKSRC= ${WRKDIR}/astyle/build/${COMPILER_TYPE}
PLIST_FILES= lib/jni/libastyle${PKGNAMESUFFIX}j.so lib/jni/libastyle${PKGNAMESUFFIX}-${PORTVERSION}j.so
PLIST_FILES= lib/jni/libastylej${PKGNAMESUFFIX}.so lib/jni/libastylej${PKGNAMESUFFIX}.so.${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's,\(JAVAINCS.*=.*\),\1 -I$(JAVA_HOME)/include/freebsd,' \
-e 's,libastyle-${PORTVERSION}j\.so,libastyle${PKGNAMESUFFIX}-${PORTVERSION}j.so,' \
${REINPLACE_CMD} -e 's,\(JAVAINCS.*=.*\),\1 -I$(JAVA_HOME)/include/freebsd,' \
-e '176 s,libastylej\.so,libastylej${PKGNAMESUFFIX}\.so,2' \
${WRKSRC}/Makefile
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/jni
${INSTALL_DATA} ${WRKSRC}/bin/*.so ${STAGEDIR}${PREFIX}/lib/jni
${LN} -sf libastyle${PKGNAMESUFFIX}-${PORTVERSION}j.so \
${STAGEDIR}${PREFIX}/lib/jni/libastyle${PKGNAMESUFFIX}j.so
${INSTALL_DATA} ${WRKSRC}/bin/*.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/jni
${LN} -sf libastylej${PKGNAMESUFFIX}.so.${PORTVERSION} \
${STAGEDIR}${PREFIX}/lib/jni/libastylej${PKGNAMESUFFIX}.so
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1475650394
SHA256 (astyle_2.05.1_linux.tar.gz) = fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac
SIZE (astyle_2.05.1_linux.tar.gz) = 152765
TIMESTAMP = 1502111990
SHA256 (astyle_3.0.1_linux.tar.gz) = 6c3ab029e0e4a75e2e603d449014374aa8269218fdd03a4aaa46ab743b1912fd
SIZE (astyle_3.0.1_linux.tar.gz) = 172483