mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Add port graphics/ppminfo:
ppminfo shows details of an ppm-file on the console. It seems this is the only utility missing from netpbm. WWW: http://www.vanheusden.com/ppminfo/ Author: Folkert van Heusden <folkert@vanheusden.com>
This commit is contained in:
parent
124ba4c952
commit
0a6aba7ed2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197281
@ -560,6 +560,7 @@
|
|||||||
SUBDIR += povray
|
SUBDIR += povray
|
||||||
SUBDIR += povray31
|
SUBDIR += povray31
|
||||||
SUBDIR += ppmcaption
|
SUBDIR += ppmcaption
|
||||||
|
SUBDIR += ppminfo
|
||||||
SUBDIR += preview
|
SUBDIR += preview
|
||||||
SUBDIR += price
|
SUBDIR += price
|
||||||
SUBDIR += proj
|
SUBDIR += proj
|
||||||
|
32
graphics/ppminfo/Makefile
Normal file
32
graphics/ppminfo/Makefile
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# New ports collection makefile for: ppminfo
|
||||||
|
# Date created: 7 August 2007
|
||||||
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= ppminfo
|
||||||
|
PORTVERSION= 0.1
|
||||||
|
CATEGORIES= graphics
|
||||||
|
MASTER_SITES= http://www.vanheusden.com/ppminfo/ CENKES
|
||||||
|
EXTRACT_SUFX= .tgz
|
||||||
|
|
||||||
|
MAINTAINER= infofarmer@FreeBSD.org
|
||||||
|
COMMENT= Shows details of a ppm file
|
||||||
|
|
||||||
|
LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
|
||||||
|
|
||||||
|
PLIST_FILES= bin/${PORTNAME}
|
||||||
|
CFLAGS+= -I${LOCALBASE}/include
|
||||||
|
LDFLAGS= -L${LOCALBASE}/lib
|
||||||
|
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} 's|min(|MIN(|;s|max(|MAX(|' ${WRKSRC}/pi.c
|
||||||
|
@${REINPLACE_CMD} 's|-O2||;/^LDFLAGS=/s|=|+=|;\
|
||||||
|
/^DEBUG=/d' ${WRKSRC}/Makefile
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
graphics/ppminfo/distinfo
Normal file
3
graphics/ppminfo/distinfo
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
MD5 (ppminfo-0.1.tgz) = e5d612f6315ca8dc8a8d37c49c07c341
|
||||||
|
SHA256 (ppminfo-0.1.tgz) = fba42574a88b6198697d14ab71720580795c0dabe39fa98354f771e313619258
|
||||||
|
SIZE (ppminfo-0.1.tgz) = 7724
|
5
graphics/ppminfo/pkg-descr
Normal file
5
graphics/ppminfo/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
ppminfo shows details of an ppm-file on the console. It seems this is
|
||||||
|
the only utility missing from netpbm.
|
||||||
|
|
||||||
|
WWW: http://www.vanheusden.com/ppminfo/
|
||||||
|
Author: Folkert van Heusden <folkert@vanheusden.com>
|
Loading…
Reference in New Issue
Block a user