aboutsummaryrefslogtreecommitdiff
path: root/irc/dancer/Makefile
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-06-08 13:54:10 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-06-08 13:54:10 +0000
commit32ecce3c9f1a24e4574aa7e272e9fcab01a5ba81 (patch)
tree74a5c272218bd241836fb4c2dde898210e819c84 /irc/dancer/Makefile
parent1398ed57d7c74f573771716fe93aafdfc7b02de2 (diff)
downloadports-32ecce3c9f1a24e4574aa7e272e9fcab01a5ba81.tar.gz
ports-32ecce3c9f1a24e4574aa7e272e9fcab01a5ba81.zip
Notes
Diffstat (limited to 'irc/dancer/Makefile')
-rw-r--r--irc/dancer/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/irc/dancer/Makefile b/irc/dancer/Makefile
index 6dd9933c391a..8a03cbd0372d 100644
--- a/irc/dancer/Makefile
+++ b/irc/dancer/Makefile
@@ -14,21 +14,22 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An IRC bot written in C for UNIX, Windows, and AmigaOS
+PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+GNU_CONFIGURE= yes
+MAKE_ARGS+= CSPECIAL="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+
do-install:
- @${MKDIR} ${PREFIX}/share/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
- ${INSTALL_DATA} \
- ${WRKSRC}/example/dancer.config \
- ${WRKSRC}/example/dancer.users \
- ${WRKSRC}/example/dancer.funcs \
- ${WRKSRC}/example/dancer.explain \
- ${PREFIX}/share/${PORTNAME}/
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/../${PORTNAME} ${PREFIX}/bin/
+ cd ${WRKSRC}/../example && ${INSTALL_DATA} \
+ dancer.config dancer.users \
+ dancer.funcs dancer.explain ${DATADIR}
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500000
LDFLAGS+= -lm
-MAKE_ARGS+= LDFLAGS="${LDFLAGS}"
.endif
.include <bsd.port.post.mk>