blob: ec0a4c2ca8ca51bd12190912f3e1f3c2b5fc87d0 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# ex:ts=8
#
# New ports collection makefile for: envelope
# Date created: 2002/03/24
# Whom: Alan Eldridge alane@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= envelope
PORTVERSION= 1.0.0
CATEGORIES= print
MASTER_SITES= http://freefall.homeip.net/code/envelope/
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line Postscript envelope printer
NO_BUILD= yes
USE_PERL5= yes
NO_WRKSUBDIR= yes
PLIST_SUB+= DOCSDIR=${DOCSDIR:S@^${PREFIX}/@@}
PLIST_SUB+= EXAMPLESDIR=${EXAMPLESDIR:S@^${PREFIX}/@@}
post-patch:
@${REINPLACE_CMD} -e 's@/usr/bin/perl@${PERL}@' ${WRKDIR}/envelope
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/envelope ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} ${EXAMPLESDIR}/config
@cd ${WRKDIR}; ${INSTALL_DATA} samplerc INSTALL ReadMe ${DOCSDIR}
@cd ${WRKDIR}/examples; \
${INSTALL_DATA} normal returnaddress shipping_label \
simple with_config with_font_info with_options \
${EXAMPLESDIR}
@cd ${WRKDIR}/examples; ${INSTALL_DATA} config/* ${EXAMPLESDIR}/config
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|