blob: a823489ded8090d09fdd85cc0231f6206fcb2ff3 (
plain)
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
31
|
# $NetBSD: Makefile,v 1.5 2012/10/03 21:56:15 wiz Exp $
DISTNAME= ps2eps-1.68
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.tm.uka.de/~bless/
EXTRACT_SUFX= .zip
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.tm.uka.de/~bless/ps2eps
COMMENT= Tool for generating EPS Format files from one-page PS documents
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= perl:run
WRKSRC= ${WRKDIR}/ps2eps
REPLACE_PERL+= bin/ps2eps
INSTALLATION_DIRS+= bin man/man1
do-build:
cd ${WRKSRC:Q}/src/C && ${CC} ${CFLAGS} -o bbox bbox.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/src/C/bbox ${DESTDIR:Q}${PREFIX:Q}/bin
${INSTALL_SCRIPT} ${WRKSRC:Q}/bin/ps2eps ${DESTDIR:Q}${PREFIX:Q}/bin
${INSTALL_MAN} ${WRKSRC:Q}/doc/man/man1/*.1 \
${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}/man1
.include "../../mk/bsd.pkg.mk"
|