Skip to content

Commit

Permalink
*/*: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: FreeBSD
  • Loading branch information
fichtner committed Dec 5, 2015
1 parent 68edf40 commit bb56e3d
Show file tree
Hide file tree
Showing 66 changed files with 207 additions and 165 deletions.
16 changes: 6 additions & 10 deletions audio/libsndfile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# $FreeBSD$

PORTNAME= libsndfile
PORTVERSION= 1.0.25
PORTREVISION= 5
PORTVERSION= 1.0.26
CATEGORIES= audio
MASTER_SITES= http://www.mega-nerd.com/libsndfile/files/

Expand All @@ -12,19 +11,16 @@ COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF)

LICENSE= LGPL21

USES= gmake libtool:keepla pathfix pkgconfig
USES= gmake libtool localbase pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gcc-pipe \
--disable-sqlite \
--disable-alsa \
--disable-octave
CPPFLAGS+= -isystem /usr/include -isystem ${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
--disable-octave \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
USE_LDCONFIG= yes
TEST_TARGET= check

PORTDOCS= AUTHORS ChangeLog NEWS README libsndfile.css \
new_file_type.HOWTO libsndfile.jpg *.html
INSTALL_TARGET= install-strip

OPTIONS_DEFINE= CPU_CLIP EXTERNAL DOCS
OPTIONS_DEFAULT= EXTERNAL
Expand All @@ -41,7 +37,7 @@ EXTERNAL_CONFIGURE_OFF= --disable-external-libs
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/ doc / /g' ${WRKSRC}/Makefile.in

post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${TAR} -C ${WRKSRC}/doc --exclude "*Makefile*" --exclude "*.in" \
-cf - . | ${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -
Expand Down
4 changes: 2 additions & 2 deletions audio/libsndfile/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SHA256 (libsndfile-1.0.25.tar.gz) = 59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa4882
SIZE (libsndfile-1.0.25.tar.gz) = 1060692
SHA256 (libsndfile-1.0.26.tar.gz) = cd6520ec763d1a45573885ecb1f8e4e42505ac12180268482a44b28484a25092
SIZE (libsndfile-1.0.26.tar.gz) = 1080727
19 changes: 17 additions & 2 deletions audio/libsndfile/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ bin/sndfile-salvage
include/sndfile.h
include/sndfile.hh
lib/libsndfile.a
lib/libsndfile.la
lib/libsndfile.so
lib/libsndfile.so.1
lib/libsndfile.so.1.0.25
lib/libsndfile.so.1.0.26
libdata/pkgconfig/sndfile.pc
man/man1/sndfile-cmp.1.gz
man/man1/sndfile-concat.1.gz
Expand All @@ -26,3 +25,19 @@ man/man1/sndfile-interleave.1.gz
man/man1/sndfile-metadata-get.1.gz
man/man1/sndfile-metadata-set.1.gz
man/man1/sndfile-play.1.gz
man/man1/sndfile-salvage.1.gz
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
%%PORTDOCS%%%%DOCSDIR%%/api.html
%%PORTDOCS%%%%DOCSDIR%%/bugs.html
%%PORTDOCS%%%%DOCSDIR%%/command.html
%%PORTDOCS%%%%DOCSDIR%%/dither.html
%%PORTDOCS%%%%DOCSDIR%%/embedded_files.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/libsndfile.css
%%PORTDOCS%%%%DOCSDIR%%/libsndfile.jpg
%%PORTDOCS%%%%DOCSDIR%%/lists.html
%%PORTDOCS%%%%DOCSDIR%%/new_file_type.HOWTO
%%PORTDOCS%%%%DOCSDIR%%/octave.html
%%PORTDOCS%%%%DOCSDIR%%/sndfile_info.html
%%PORTDOCS%%%%DOCSDIR%%/tutorial.html
%%PORTDOCS%%%%DOCSDIR%%/win32.html
2 changes: 1 addition & 1 deletion benchmarks/fio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= fio
PORTVERSION= 2.2.11
PORTVERSION= 2.2.12
CATEGORIES= benchmarks
MASTER_SITES= http://brick.kernel.dk/snaps/

Expand Down
4 changes: 2 additions & 2 deletions benchmarks/fio/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SHA256 (fio-2.2.11.tar.bz2) = 03ac5354537002f44d09112a46e97d59dee326ddb01e3a1cee65dcc9322ebcf2
SIZE (fio-2.2.11.tar.bz2) = 501424
SHA256 (fio-2.2.12.tar.bz2) = b821131a0553884454053aec2fbc26cbaca737eff8348dfc7a7163c3f3290ed1
SIZE (fio-2.2.12.tar.bz2) = 502557
9 changes: 5 additions & 4 deletions benchmarks/fio/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,20 @@ man/man1/fio_generate_plots.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/e4defrag2.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/enospc-pressure.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/falloc.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fixed-rate-submission.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/flow.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fsx.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fusion-aw-sync.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gfapi.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iometer-file-access-server.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/latency-profile.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/libhdfs.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mtd.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/netio.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/netio_multicast.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/null.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/numa.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/poisson-rate-submission.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rbd.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rdmaio-client.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rdmaio-server.fio
Expand All @@ -27,7 +32,3 @@ man/man1/fio_generate_plots.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/surface-scan.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tiobench-example.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zipf.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fixed-rate-submission.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gfapi.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/libhdfs.fio
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mtd.fio
6 changes: 3 additions & 3 deletions chinese/autoconvert/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ COMMENT= Intelligent Chinese encoding converter
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual

OPTIONS_DEFINE= DOCS

MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}

OPTIONS_DEFINE= DOCS

post-patch:
@${REINPLACE_CMD} -e 's|CFLAG|CFLAGS|' -e 's|make|$$(MAKE)|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|gcc|${CC}|' -e 's|LIBS=|&${LDFLAGS} |' \
-e 's|CFLAGS=|&${CPPFLAGS} ${CFLAGS} |' \
${WRKSRC}/Makefile ${WRKSRC}/hzconvert/Makefile

post-install:
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ChangeLog Readme TODO Thanks Version ${STAGEDIR}${DOCSDIR}/

Expand Down
7 changes: 4 additions & 3 deletions chinese/cless/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ MASTER_SITES= ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/c-utils/
MAINTAINER= [email protected]
COMMENT= Better pager utility (and it speaks Chinese)

LICENSE= BSD2CLAUSE

GNU_CONFIGURE= yes
CFLAGS+= -DHANZI # LDFLAGS=-s datadir=/usr/local/lib/less
CPP= #

OPTIONS_DEFINE= DOCS


post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.CLESS ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
9 changes: 8 additions & 1 deletion chinese/reciteword/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ DISTFILES= ${DISTNAME}.tar.bz2 \
MAINTAINER= [email protected]
COMMENT= Education software to help people to study English

LICENSE= GPLv3 # or later
LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libespeak.so:${PORTSDIR}/audio/espeak

GNU_CONFIGURE= yes
Expand All @@ -22,14 +25,18 @@ USE_GNOME= gtk20 intltool esound
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib

PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO readme.txt
PORTDOCS= AUTHORS ChangeLog INSTALL README readme.txt

OPTIONS_DEFINE= DOCS

post-patch:
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|' ${WRKSRC}/src/readword.cpp

post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKDIR} && ${COPYTREE_SHARE} "books dicts" ${STAGEDIR}${DATADIR}

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

Expand Down
7 changes: 5 additions & 2 deletions chinese/wordpress-zh_CN/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ PKGNAMESUFFIX= -zh_CN
MAINTAINER= [email protected]
COMMENT= State-of-the-art semantic personal publishing platform

LICENSE= GPLv2
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/license.txt

WRKSRC= ${WRKDIR}/${PORTNAME}

Expand Down Expand Up @@ -44,9 +45,11 @@ pre-install:
${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi

do-install:
${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
${MKDIR} ${STAGEDIR}${WWWDIR}/
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w '{}' \;

do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/

Expand Down
7 changes: 5 additions & 2 deletions chinese/wordpress-zh_TW/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ PKGNAMESUFFIX= -zh_TW
MAINTAINER= [email protected]
COMMENT= State-of-the-art semantic personal publishing platform

LICENSE= GPLv2
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/license.txt

WRKSRC= ${WRKDIR}/${PORTNAME}

Expand Down Expand Up @@ -44,9 +45,11 @@ pre-install:
${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi

do-install:
${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
${MKDIR} ${STAGEDIR}${WWWDIR}/
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w '{}' \;

do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/

Expand Down
5 changes: 4 additions & 1 deletion comms/hylafax/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ MASTER_SITES= ftp://ftp.hylafax.org/source/
MAINTAINER= [email protected]
COMMENT= Fax software

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT

BUILD_DEPENDS= ${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
libjbig.so:${PORTSDIR}/graphics/jbigkit
Expand Down Expand Up @@ -90,7 +93,7 @@ pre-install:
${STAGEDIR}${HYLAFAX_SPOOL}/info \
${STAGEDIR}${HYLAFAX_SPOOL}/log

post-install:
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/

Expand Down
5 changes: 4 additions & 1 deletion comms/sredird/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ MASTER_SITES= SUNSITE/system/serial
MAINTAINER= [email protected]
COMMENT= RFC 2217 compliant serial port redirector

LICENSE= GPLv2
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING

OPTIONS_DEFINE= DOCS

Expand All @@ -19,6 +20,8 @@ do-build:

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sredird ${STAGEDIR}${PREFIX}/libexec

do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

Expand Down
2 changes: 2 additions & 0 deletions comms/yaps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/yaps ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/yaps.rc ${STAGEDIR}${PREFIX}/etc/yaps.rc.sample
${INSTALL_MAN} ${WRKSRC}/yaps.1 ${STAGEDIR}${PREFIX}/man/man1/

do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/yaps.doc ${WRKSRC}/yaps.html ${STAGEDIR}${DOCSDIR}

Expand Down
3 changes: 2 additions & 1 deletion converters/ytnef/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ MAINTAINER= [email protected]
COMMENT= Unpack data in MS Outlook TNEF format

LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libytnef.so:${PORTSDIR}/devel/libytnef
RUN_DEPENDS= p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools
Expand All @@ -32,7 +33,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share|' \
${WRKSRC}/src/ytnef/*.pl

post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

Expand Down
16 changes: 7 additions & 9 deletions devel/ncurses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# $FreeBSD$

PORTNAME= ncurses
DISTVERSION= ${RELEASE}-20150214
PORTREVISION= 2
PORTVERSION= 6.0
CATEGORIES= devel
MASTER_SITES= ftp://invisible-island.net/${PORTNAME}/current/
MASTER_SITES= http://invisible-mirror.net/archives/${PORTNAME}/ \
ftp://invisible-island.net/${PORTNAME}/
DIST_SUBDIR= ${PORTNAME}

MAINTAINER= [email protected]
Expand All @@ -15,8 +15,6 @@ CONFLICTS= ncurses-devel-*

LICENSE= MIT

RELEASE= 5.9

BROKEN_sparc64= cannot build: coredump: illegal instruction

GNU_CONFIGURE= yes
Expand All @@ -41,7 +39,7 @@ TRACE_DESC= Add trace() function to all models of ncurses
CONFIGURE_ENV= gnat_exists="no"

USE_LDCONFIG= yes
USES= shebangfix tar:tgz terminfo
USES= shebangfix terminfo
SHEBANG_FILES= test/tracemunch

WIDEC_WRKSRC= ${WRKSRC}/build.widec
Expand All @@ -54,8 +52,8 @@ CONFIGURE_WRKSRC= ${NOWIDEC_WRKSRC}
BUILD_WRKSRC= ${NOWIDEC_WRKSRC}
INSTALL_WRKSRC= ${NOWIDEC_WRKSRC}

PLIST_SUB+= ABI_VER=${RELEASE:R} \
REL_VER=${RELEASE} \
PLIST_SUB+= ABI_VER=${PORTVERSION:R} \
REL_VER=${PORTVERSION} \
WIDEC_EXAMPLESDIR=${WIDEC_EXAMPLESDIR:S,${PREFIX}/,,} \
NOWIDEC_EXAMPLESDIR=${NOWIDEC_EXAMPLESDIR:S,${PREFIX}/,,}

Expand Down Expand Up @@ -129,7 +127,7 @@ post-install:
${ECHO} "INPUT(libncurses.so.${RELEASE:R} AS_NEEDED(-ltinfo))" > ${STAGEDIR}${PREFIX}/lib/libncurses.so
${ECHO} "INPUT(libncursesw.so.${RELEASE:R} AS_NEEDED(-ltinfow))" > ${STAGEDIR}${PREFIX}/lib/libncursesw.so

${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.5.9
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.${PORTVERSION}

${MV} ${STAGEDIR}${PREFIX}/share/misc/terminfo.db \
${STAGEDIR}${PREFIX}/share/misc/terminfo.db.default
Expand Down
4 changes: 2 additions & 2 deletions devel/ncurses/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SHA256 (ncurses/ncurses-5.9-20150214.tgz) = c88fecbf91b94faa1de7dc3192ad2fd227eeed1648c5daa736119b9a7ff08e07
SIZE (ncurses/ncurses-5.9-20150214.tgz) = 3042611
SHA256 (ncurses/ncurses-6.0.tar.gz) = f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260
SIZE (ncurses/ncurses-6.0.tar.gz) = 3131891
5 changes: 3 additions & 2 deletions devel/ncurses/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ man/man1/captoinfo.1m.gz
man/man1/clear.1.gz
man/man1/infocmp.1m.gz
man/man1/infotocap.1m.gz
man/man1/ncurses5-config.1.gz
man/man1/ncursesw5-config.1.gz
man/man1/ncurses%%ABI_VER%%-config.1.gz
man/man1/ncursesw%%ABI_VER%%-config.1.gz
man/man1/reset.1.gz
man/man1/tabs.1.gz
man/man1/tic.1m.gz
Expand Down Expand Up @@ -330,6 +330,7 @@ man/man3/form.3x.gz
man/man3/form_cursor.3x.gz
man/man3/form_data.3x.gz
man/man3/form_driver.3x.gz
man/man3/form_driver_w.3x.gz
man/man3/form_field.3x.gz
man/man3/form_field_attributes.3x.gz
man/man3/form_field_buffer.3x.gz
Expand Down
Loading

0 comments on commit bb56e3d

Please sign in to comment.