1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add/update license when possible

- Modernize ports Makefiles
- Update MASTER_SITES/distfile for converters/chmview
This commit is contained in:
Alex Kozlov 2014-05-20 06:06:35 +00:00
parent aa64a51660
commit 5d6a8e4ab8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354597
13 changed files with 28 additions and 31 deletions

View File

@ -12,6 +12,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ak@FreeBSD.org
COMMENT= File archiver based on HSC compression method
LICENSE= GPLv2
PROJECTHOST= ak-various-projects
NO_WRKSUBDIR= yes

View File

@ -10,6 +10,8 @@ DISTNAME= lzx_compress
MAINTAINER= ak@FreeBSD.org
COMMENT= LZX compression library
LICENSE= LGPL21
USES= uidfix
USE_LDCONFIG= yes

View File

@ -3,9 +3,9 @@
PORTNAME= chmview
PORTVERSION= 2.0b4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= converters textproc
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MASTER_SITES= https://googledrive.com/host/0BwCT-sp3iBCaeDRPYm1jTjl1Qmc/
MAINTAINER= ak@FreeBSD.org
COMMENT= Extractor from .chm files
@ -14,15 +14,10 @@ LICENSE= GPLv2
LIB_DEPENDS= libchm.so:${PORTSDIR}/misc/chmlib
PROJECTHOST= ak-various-projects
USE_XZ= yes
USE_DOS2UNIX= chmview.c utf8.c utf8.h
USES= tar:xz
WRKSRC= ${WRKDIR}/src
MAKEFILE= ${FILESDIR}/Makefile
PLIST_FILES= bin/chmview
post-extract:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (chmview-2.0b4.tar.xz) = cc860a5de9e1f379d199b9809471ca045790425389f0a32908c80bd480de0e1d
SIZE (chmview-2.0b4.tar.xz) = 12008
SHA256 (chmview-2.0b4.tar.xz) = a3949044a1771e17482589ae1239e8101f2409b52adccc267f8c4eaf31861903
SIZE (chmview-2.0b4.tar.xz) = 11952

View File

@ -20,12 +20,12 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= fli2gif.txt
post-extract:
@cd ${WRKSRC} && ${UNZIP_CMD} -q source.zip \
@(cd ${WRKSRC} && ${UNZIP_CMD} -q source.zip \
&& ${LN} -sf GIF.CPP gif.cpp \
&& ${LN} -sf FLIPLAY.CPP fliplay.cpp
&& ${LN} -sf FLIPLAY.CPP fliplay.cpp)
do-build:
@cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o ${PORTNAME} *.cpp
(cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o ${PORTNAME} *.cpp)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fli2gif ${STAGEDIR}${PREFIX}/bin

View File

@ -10,15 +10,14 @@ MASTER_SITES= http://pngquant.org/
MAINTAINER= ak@FreeBSD.org
COMMENT= Converts 32-bit RGBA PNGs into 8-bit RGBA-palette PNGs
LICENSE= BSD
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
USES= gmake
USES= gmake tar:bzip2
MAKE_ARGS+= CC="${CC}"
CPPFLAGS+= $$(libpng-config --I_opts)

View File

@ -27,7 +27,7 @@ post-extract:
@${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.6
do-build:
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} *.c -lX11 -lm -o ${PORTNAME}
(cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} *.c -lX11 -lm -o ${PORTNAME})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

View File

@ -13,6 +13,8 @@ EXTRACT_SUFX= .gz
MAINTAINER= ak@FreeBSD.org
COMMENT= Translate text both to and from KennySpeak
LICENSE= ART10
PROJECTHOST= ak-various-projects
CONFLICTS= filters-*
@ -36,7 +38,7 @@ post-extract:
@${POD2MAN} ${WRKDIR}/${PORTNAME} > ${WRKDIR}/${PORTNAME}.1
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -10,9 +10,9 @@ PROJECTHOST= ak-various-projects
MAINTAINER= ak@FreeBSD.org
COMMENT= Tool that checks the ports tree for various errors
LICENSE= BSD
LICENSE= BSD2CLAUSE
USE_XZ= yes
USES= tar:xz
NO_ARCH= yes
NO_BUILD= yes

View File

@ -10,8 +10,7 @@ MAINTAINER= ak@FreeBSD.org
COMMENT= SSH 2 server, designed to be usable in small memory environments
GNU_CONFIGURE= yes
USE_BZIP2= yes
USES= gmake
USES= gmake tar:bzip2
USE_RC_SUBR= ${PORTNAME}

View File

@ -10,7 +10,7 @@ DISTFILES= # none
MAINTAINER= ak@FreeBSD.org
COMMENT= Command-line utility for downloading books from Google Books
LICENSE= BSD
LICENSE= BSD2CLAUSE
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget

View File

@ -14,9 +14,7 @@ LICENSE= MIT
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
USE_XZ= yes
USES= pkgconfig
USES= pkgconfig tar:xz
GNU_CONFIGURE= yes
USE_XORG= x11 xext xft xinerama xpm xmu xrandr

View File

@ -3,14 +3,14 @@
PORTNAME= printscreen
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= x11
CATEGORIES= graphics x11
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= ak@FreeBSD.org
COMMENT= Simple screenshot program for X11
LICENSE= BSD
LICENSE= BSD2CLAUSE
RUN_DEPENDS= xwd:${PORTSDIR}/x11/xwd \
xwdtopnm:${PORTSDIR}/graphics/netpbm
@ -22,6 +22,6 @@ NO_BUILD= yes
PLIST_FILES= bin/printscreen
do-install:
@${INSTALL_SCRIPT} ${FILESDIR}/printscreen.in ${STAGEDIR}${PREFIX}/bin/printscreen
${INSTALL_SCRIPT} ${FILESDIR}/printscreen.in ${STAGEDIR}${PREFIX}/bin/printscreen
.include <bsd.port.mk>