Lines 7-13
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= curl |
9 |
PORTNAME= curl |
10 |
PORTVERSION= 1.3 |
10 |
PORTVERSION= 1.4 |
11 |
CATEGORIES= ftp |
11 |
CATEGORIES= ftp |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= rexx${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= rexx${PORTNAME} |
Lines 24-36
Link Here
|
24 |
USE_REINPLACE= yes |
24 |
USE_REINPLACE= yes |
25 |
USE_GMAKE= yes |
25 |
USE_GMAKE= yes |
26 |
GNU_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
|
|
27 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
27 |
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" |
28 |
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" |
28 |
CONFIGURE_ARGS= --with-rexx=regina |
29 |
CONFIGURE_ARGS= --with-rexx=regina |
29 |
INSTALLS_SHLIB= yes |
30 |
INSTALLS_SHLIB= yes |
30 |
|
31 |
|
|
|
32 |
DOCSDIR= ${PREFIX}/share/doc/rexx${PORTNAME} |
31 |
DATADIR= ${PREFIX}/share/rexx${PORTNAME} |
33 |
DATADIR= ${PREFIX}/share/rexx${PORTNAME} |
32 |
|
34 |
|
33 |
post-patch: |
35 |
post-patch: |
34 |
@${REINPLACE_CMD} -e 's| -lc | |g' ${WRKSRC}/Makefile.in |
36 |
@${REINPLACE_CMD} -e 's| -lc | |g ; \ |
|
|
37 |
/$$(sharedir)\/images/d ; \ |
38 |
/index.html/d ; \ |
39 |
/rxcurl64.png/d' ${WRKSRC}/Makefile.in |
40 |
|
41 |
post-install: |
42 |
.if !defined(NOPORTDOCS) |
43 |
@${MKDIR} ${DOCSDIR} |
44 |
${INSTALL_DATA} ${WRKSRC}/doc/index.html ${DOCSDIR} |
45 |
@${MKDIR} ${DOCSDIR}/images |
46 |
${INSTALL_DATA} ${WRKSRC}/doc/images/rxcurl64.png ${DOCSDIR}/images |
47 |
.endif |
35 |
|
48 |
|
36 |
.include <bsd.port.mk> |
49 |
.include <bsd.port.mk> |