|
Lines 1-6
Link Here
|
| 1 |
# Ports collection Makefile for: p5-Digest-SHA-PurePerl |
1 |
# Created by: Gabor Kovesdan <gabor@FreeBSD.org> |
| 2 |
# Date created: 21 Dec, 2005 |
|
|
| 3 |
# Whom: Gabor Kovesdan |
| 4 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 5 |
|
3 |
|
| 6 |
PORTNAME= Digest-SHA-PurePerl |
4 |
PORTNAME= Digest-SHA-PurePerl |
|
Lines 14-43
Link Here
|
| 14 |
|
12 |
|
| 15 |
PERL_CONFIGURE= yes |
13 |
PERL_CONFIGURE= yes |
| 16 |
|
14 |
|
| 17 |
MAN3= Digest::SHA::PurePerl.3 |
15 |
PORTEXAMPLES= dups |
|
|
16 |
MAN3= Digest::SHA::PurePerl.3 |
| 18 |
|
17 |
|
| 19 |
.include <bsd.port.pre.mk> |
18 |
.include <bsd.port.options.mk> |
| 20 |
|
19 |
|
| 21 |
.if ${PERL_LEVEL} < 500803 |
|
|
| 22 |
RUN_DEPENDS+= ${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest |
| 23 |
.endif |
| 24 |
|
| 25 |
.if ${PERL_LEVEL} >= 501000 |
| 26 |
PLIST_SUB+= EXE_FILES="@comment " |
| 27 |
.else |
| 28 |
PLIST_SUB+= EXE_FILES="" |
| 29 |
MAN1= shasum.1 |
| 30 |
.endif |
| 31 |
|
| 32 |
post-patch: |
20 |
post-patch: |
| 33 |
.if ${PERL_LEVEL} >= 501000 |
|
|
| 34 |
@${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL |
21 |
@${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL |
| 35 |
.endif |
|
|
| 36 |
|
22 |
|
| 37 |
.if !defined(NOPORTEXAMPLES) |
23 |
.if ${PORT_OPTIONS:MEXAMPLES} |
| 38 |
post-install: |
24 |
post-install: |
| 39 |
@${MKDIR} ${EXAMPLESDIR} |
25 |
@${MKDIR} ${EXAMPLESDIR} |
| 40 |
@${INSTALL_DATA} ${WRKSRC}/examples/dups ${EXAMPLESDIR} |
26 |
@${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${EXAMPLESDIR} |
|
|
27 |
|
| 41 |
.endif |
28 |
.endif |
| 42 |
|
29 |
|
| 43 |
.include <bsd.port.post.mk> |
30 |
.include <bsd.port.mk> |