openbsd-ports/graphics/jhead/Makefile

42 lines
897 B
Makefile
Raw Normal View History

2004-11-29 20:06:33 -05:00
# $OpenBSD: Makefile,v 1.6 2004/11/30 01:06:36 espie Exp $
COMMENT= "Exif Jpeg camera setting parser and thumbnail remover"
2004-07-18 16:21:03 -04:00
DISTNAME= jhead-2.2
CATEGORIES= graphics
HOMEPAGE= http://www.sentex.net/~mwandel/jhead/
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
# public domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-11-29 20:06:33 -05:00
WANTLIB= c m
MASTER_SITES= ${HOMEPAGE}
NO_REGRESS= Yes
.if ${MACHINE_ARCH} == "sparc64"
CFLAGS+= -O0
.endif
do-build:
cd ${WRKSRC} && \
2004-07-18 16:21:03 -04:00
${CC} ${CFLAGS} -o jhead exif.c jhead.c \
jpgfile.c makernote.c -lm
post-build:
@gzip -d ${WRKSRC}/jhead.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/jhead.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jhead
${INSTALL_DATA} ${WRKSRC}/usage.html ${PREFIX}/share/doc/jhead
.include <bsd.port.mk>