1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Update to 1.4.1

- Change MASTER_SITES from SF to GitHub
- Update LICENSE
- Use PLIST
- Update WWW
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/cheusov/libmaa/blob/master/doc/NEWS
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-03-03 16:29:52 +00:00
parent a63c9da281
commit 6a08d6b0e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463493
8 changed files with 30 additions and 36 deletions

View File

@ -2,39 +2,33 @@
# $FreeBSD$
PORTNAME= libmaa
PORTVERSION= 1.3.2
PORTREVISION= 3
PORTVERSION= 1.4.1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= SF/dict/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Provides a few data structures and helpful functions
# The software was licensed as GPLv2. LGPL20 is for the library.
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
BUILD_DEPENDS= mk-configure>=0.29.1:devel/mk-configure
OPTIONS_DEFINE= DOCS
ALL_TARGET= lib
GNU_CONFIGURE= yes
MAKE_ARGS= -m ${LOCALBASE}/share/mkc-mk DOCDIR=${DOCSDIR} LIBDIR=${PREFIX}/lib
NO_CONFIGURE= yes
USE_LDCONFIG= yes
USES= libtool:build
DOCS= README doc/libmaa.600dpi.ps
PLIST_FILES= include/maa.h \
lib/libmaa.a \
lib/libmaa.so \
lib/libmaa.so.3 \
lib/libmaa.so.3.0.0
PORTDOCS= ${DOCS:T}
GH_ACCOUNT= cheusov
USE_GITHUB= yes
post-patch:
@${AWK} -f ${WRKSRC}/maa/arggram2c < ${WRKSRC}/maa/arggram.txt > ${WRKSRC}/maa/arggram.c
@${REINPLACE_CMD} -e '/^FILES *=/ s|LICENSE||' ${WRKSRC}/doc/Makefile
@${REINPLACE_CMD} -e '/^#SHLIB_TEENY *=/ s|#||' ${WRKSRC}/maa/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmaa.so.3
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmaa.so
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (libmaa-1.3.2.tar.gz) = 59a5a01e3a9036bd32160ec535d25b72e579824e391fea7079e9c40b0623b1c5
SIZE (libmaa-1.3.2.tar.gz) = 287198
TIMESTAMP = 1519832016
SHA256 (cheusov-libmaa-1.4.1_GH0.tar.gz) = bc886f02c94214ad2c231a7a337fc9c8bbdc9ec9d05c7061b7c1f0c5264fbe9b
SIZE (cheusov-libmaa-1.4.1_GH0.tar.gz) = 175106

View File

@ -1,11 +0,0 @@
--- strtol.c.orig 1995-08-25 12:59:08.000000000 +0800
+++ strtol.c 2008-01-26 13:15:27.000000000 +0800
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <errno.h>
-#ifdef __sparc__
+#if defined(__sparc) && !defined(__FreeBSD__)
extern int errno;
extern int toupper(int);
#endif

View File

@ -8,5 +8,4 @@ a wide range of programming problems.
The memory management routines are especially helpful for improving the
performance of memory-intensive applications.
WWW: http://www.dict.org/
WWW: http://sourceforge.net/projects/dict/
WWW: https://github.com/cheusov/libmaa

8
devel/libmaa/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
include/maa.h
lib/libmaa.a
lib/libmaa.so
lib/libmaa.so.4
lib/libmaa.so.4.0.0
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/libmaa.600dpi.ps

View File

@ -3,6 +3,7 @@
PORTNAME= dictd
PORTVERSION= 1.12.1
PORTREVISION= 1
CATEGORIES+= net textproc
MASTER_SITES= SF/dict/${PORTNAME}/${PORTNAME}-${PORTVERSION}

View File

@ -3,6 +3,7 @@
PORTNAME= dict
PORTVERSION= 1.12.1
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}d/${PORTNAME}d-${PORTVERSION}
DISTNAME= ${PORTNAME}d-${PORTVERSION}

View File

@ -3,6 +3,7 @@
PORTNAME= dictfmt
PORTVERSION= 1.12.1
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/dict/dictd/dictd-${PORTVERSION}
DISTNAME= dictd-${PORTVERSION}