Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= opencdk |
8 |
PORTNAME= opencdk |
9 |
PORTVERSION= 0.4.5 |
9 |
PORTVERSION= 0.5.1 |
10 |
CATEGORIES= security |
10 |
CATEGORIES= security |
11 |
MASTER_SITES= ${MASTER_SITE_GNUPG} \ |
11 |
MASTER_SITES= ${MASTER_SITE_GNUPG} \ |
12 |
http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \ |
12 |
http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \ |
Lines 19-31
Link Here
|
19 |
|
19 |
|
20 |
LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt |
20 |
LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt |
21 |
|
21 |
|
|
|
22 |
USE_BZIP2= yes |
22 |
USE_LIBTOOL= yes |
23 |
USE_LIBTOOL= yes |
23 |
INSTALLS_SHLIB= yes |
24 |
INSTALLS_SHLIB= yes |
24 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
25 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
25 |
CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE} |
26 |
CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE} |
26 |
USE_REINPLACE= yes |
27 |
USE_REINPLACE= yes |
27 |
|
28 |
|
28 |
DOCS= AUTHORS NEWS README THANKS |
29 |
DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html |
|
|
30 |
EXAMPLES= tests/*.c tests/*.gpg |
29 |
|
31 |
|
30 |
post-patch: |
32 |
post-patch: |
31 |
.for file in encrypt.c main.c misc.c |
33 |
.for file in encrypt.c main.c misc.c |
Lines 34-47
Link Here
|
34 |
|
36 |
|
35 |
post-install: |
37 |
post-install: |
36 |
@${MKDIR} ${EXAMPLESDIR} |
38 |
@${MKDIR} ${EXAMPLESDIR} |
37 |
${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR} |
39 |
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR} |
38 |
${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR} |
|
|
39 |
.if !defined(NOPORTDOCS) |
40 |
.if !defined(NOPORTDOCS) |
40 |
@${MKDIR} ${DOCSDIR} |
41 |
@${MKDIR} ${DOCSDIR} |
41 |
.for file in ${DOCS} |
42 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} |
42 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
|
|
43 |
.endfor |
44 |
${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html ${DOCSDIR} |
45 |
.endif |
43 |
.endif |
46 |
|
44 |
|
47 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.mk> |