aboutsummaryrefslogblamecommitdiff
path: root/graphics/jhead/Makefile
blob: d2bbcffa6a346c46efea077819258c6b4e9f8b85 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                               
                    
                        

                                                       
 
                                




                                                                      
 
                   

                          
                       
 


                                                             

                                                        
                                                           





                                                       
# New ports collection makefile for:   jhead
# Date created:                01 Dec 2001
# Whom:                        Jamie Hermans <jamie@hermans.ca>
#
# $FreeBSD$
#

PORTNAME=	jhead
PORTVERSION=	2.90
CATEGORIES=	graphics
MASTER_SITES=	http://www.sentex.net/~mwandel/jhead/ \
		http://www.is-root.com/myports/

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	Exif Jpeg camera setting parser, rotator and much more

RUN_DEPENDS=	jpegtran:${PORTSDIR}/graphics/jpeg

MAKEFILE=	makefile

MAKE_JOBS_SAFE=	yes
PORTDOCS=	usage.html
PLIST_FILES=	bin/jhead
MAN1=		jhead.1

post-patch:
	@${REINPLACE_CMD} -E '/^CFLAGS=/d' ${WRKSRC}/makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/jhead.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/usage.html ${DOCSDIR}
.endif

.include <bsd.port.mk>