Lines 2-12
Link Here
|
2 |
# Date created: 26 March 2011 |
2 |
# Date created: 26 March 2011 |
3 |
# Whom: Jesse Smith |
3 |
# Whom: Jesse Smith |
4 |
# |
4 |
# |
5 |
# $FreeBSD: branches/RELENG_9_1_0/sysutils/swapexd/Makefile 300897 2012-07-14 14:29:18Z beat $ |
5 |
# $FreeBSD: |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= swapexd |
8 |
PORTNAME= swapexd |
9 |
PORTVERSION= 0.3 |
9 |
PORTVERSION= 0.4 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 1 |
11 |
CATEGORIES= sysutils |
11 |
CATEGORIES= sysutils |
12 |
MASTER_SITES= http://makeapbi.sourceforge.net/${PORTNAME}/ |
12 |
MASTER_SITES= http://makeapbi.sourceforge.net/${PORTNAME}/ |
Lines 26-33
Link Here
|
26 |
.if ${OSVERSION} < 800076 |
26 |
.if ${OSVERSION} < 800076 |
27 |
@${REINPLACE_CMD} -e "s,swapctl -s -m ,swapctl -s -h ,g" ${WRKSRC}/swapexd.c |
27 |
@${REINPLACE_CMD} -e "s,swapctl -s -m ,swapctl -s -h ,g" ${WRKSRC}/swapexd.c |
28 |
.endif |
28 |
.endif |
29 |
# Clang fix |
|
|
30 |
@${REINPLACE_CMD} -e '1s/^CC=.*$$/CC=${CC}/' ${WRKSRC}/${MAKEFILE} |
31 |
|
29 |
|
32 |
do-install: |
30 |
do-install: |
33 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/ |
31 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/ |