25 lines
643 B
Makefile
25 lines
643 B
Makefile
# Created by: 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= ports@FreeBSD.org
|
|
COMMENT= Plain C converter of jpeg images to PDF or PostScript
|
|
|
|
PLIST_FILES= bin/jpg2pdf man/man1/jpg2pdf.1.gz
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c )
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|