mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# New ports collection makefile for: pdfjam
|
|
# Date created: Tue Mar 15 17:50:34 EST 2005
|
|
# Whom: Paul Chvostek <paul@it.ca>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pdfjam
|
|
PORTVERSION= 1.21
|
|
PORTREVISION= 4
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/ \
|
|
http://www.it.ca/~paul/src/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= Shell scripts to manipulate PDF files
|
|
|
|
RUN_DEPENDS= pdflatex:${PORTSDIR}/print/teTeX-base
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
MAN1= pdfjoin.1 pdf90.1 pdfnup.1
|
|
PLIST_FILES= bin/pdfjoin bin/pdf90 bin/pdfnup
|
|
PORTDOCS= PDFjam-README.html pdfdroplets.png
|
|
|
|
NO_BUILD= yes
|
|
|
|
post-patch:
|
|
cd ${WRKSRC} && \
|
|
${REINPLACE_CMD} -e"s,^#!/bin/bash,#!/bin/sh," \
|
|
${PLIST_FILES:C/bin/scripts/}
|
|
|
|
do-install:
|
|
.for FILE in ${PLIST_FILES}
|
|
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${FILE:C/bin/scripts/} ${PREFIX}/bin
|
|
.endfor
|
|
.for FILE in ${MAN1}
|
|
${INSTALL_MAN} ${WRKSRC}/man1/${FILE} ${MAN1PREFIX}/man/man1
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for FILE in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|