1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

-LOCALBASE -> (MAN)PREFIX to install its own files.

-No need the bsd.port.pre.mk and bsd.port.post.mk.
-Minor clean up.

Approved by:	wen heping <wenheping@gmail.com> (maintainer)
This commit is contained in:
Jeremy Messenger 2008-11-03 04:34:56 +00:00
parent 6bc005ce59
commit 1aecb014df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222343

View File

@ -14,7 +14,6 @@ MAINTAINER= wenheping@gmail.com
COMMENT= A Free BitTorrent Implementation
LIB_DEPENDS= event:${PORTSDIR}/devel/libevent
# crypto:${PORTDIR}/security/openssl
USE_SCONS= yes
USE_OPENSSL= yes
@ -24,9 +23,8 @@ PLIST_FILES= bin/unworkable
MAN1= unworkable.1
.include <bsd.port.pre.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${LOCALBASE}/bin
${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${LOCALBASE}/man/man1/
${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${MANPREFIX}/man/man1/
.include <bsd.port.post.mk>
.include <bsd.port.mk>