aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jpg2pdf/Makefile
blob: 783058b6cb7de3494d7c2c0f2d820b5dc37f144c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:        jpg2pdf
# Date created:                 13 January 2009
# Whom:                     luigi@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   jpg2pdf
PORTVERSION=    20090113
CATEGORIES= graphics
MASTER_SITES=   http://info.iet.unipi.it/~luigi/FreeBSD/
DISTNAME=   ${PORTVERSION}-${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= luigi@FreeBSD.org
COMMENT=    Plain C converter of jpeg images to PDF or PostScript

MAN1=       jpg2pdf.1
PLIST_FILES=    bin/jpg2pdf

WRKSRC=     ${WRKDIR}/${PORTNAME}

do-build:
    (cd ${WRKSRC} ; ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c )

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1

.include <bsd.port.mk>