Lines 1-4
Link Here
|
1 |
# Created by: Douglas Thrift |
1 |
# Created by: Douglas Thrift <douglas@douglasthrift.net> |
2 |
# $FreeBSD: www/anyterm/Makefile 327776 2013-09-20 23:36:50Z bapt $ |
2 |
# $FreeBSD: www/anyterm/Makefile 327776 2013-09-20 23:36:50Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= anyterm |
4 |
PORTNAME= anyterm |
Lines 16-41
Link Here
|
16 |
|
16 |
|
17 |
BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs |
17 |
BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs |
18 |
|
18 |
|
19 |
MAN1= anytermd.1 |
|
|
20 |
USE_RC_SUBR= anytermd |
19 |
USE_RC_SUBR= anytermd |
21 |
USE_BZIP2= yes |
20 |
USE_BZIP2= yes |
22 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
23 |
USES= iconv |
22 |
USES= iconv |
24 |
USE_GCC= any |
23 |
USE_GCC= any |
25 |
ALL_TARGET= default_target |
24 |
ALL_TARGET= default_target |
26 |
PLIST_FILES= sbin/anytermd |
25 |
PLIST_FILES= man/man1/anytermd.1.gz \ |
|
|
26 |
sbin/anytermd |
27 |
|
27 |
|
28 |
NO_STAGE= yes |
|
|
29 |
post-patch: |
28 |
post-patch: |
30 |
@${REINPLACE_CMD} -e 's|/private/etc/apache2|${FILESDIR}|' \ |
29 |
@${REINPLACE_CMD} -e 's|/private/etc/apache2|${FILESDIR}|' \ |
31 |
${WRKSRC}/scripts/mimetype.sh |
30 |
${WRKSRC}/scripts/mimetype.sh |
32 |
@${REINPLACE_CMD} -e 's|^CPP_FLAGS=|&-I${LOCALBASE}/include |' \ |
31 |
@${REINPLACE_CMD} -e 's|^CPP_FLAGS=|&-I${LOCALBASE}/include |' \ |
33 |
-e 's|^LINK_FLAGS=|&-L${LOCALBASE}/lib |' ${WRKSRC}/common.mk |
32 |
-e 's|^LINK_FLAGS=|&-L${ICONV_PREFIX}/lib ${ICONV_LIB} |' ${WRKSRC}/common.mk |
34 |
@${REINPLACE_CMD} -e 's|^COMPILE_FLAGS=|&-I${LOCALBASE}/include |' \ |
33 |
@${REINPLACE_CMD} -e 's|^COMPILE_FLAGS=|&-I${LOCALBASE}/include |' \ |
35 |
${WRKSRC}/libpbe/common.mk |
34 |
${WRKSRC}/libpbe/common.mk |
36 |
|
35 |
|
37 |
do-install: |
36 |
do-install: |
38 |
@${INSTALL_PROGRAM} ${WRKSRC}/anytermd ${PREFIX}/sbin/anytermd |
37 |
@${INSTALL_PROGRAM} ${WRKSRC}/anytermd ${STAGEDIR}${PREFIX}/sbin/anytermd |
39 |
@${INSTALL_MAN} ${WRKSRC}/anytermd.1 ${MANPREFIX}/man/man1/anytermd.1 |
38 |
@${INSTALL_MAN} ${WRKSRC}/anytermd.1 ${STAGEDIR}${MANPREFIX}/man/man1/anytermd.1 |
40 |
|
39 |
|
41 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |