mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
40 lines
964 B
Makefile
40 lines
964 B
Makefile
# New ports collection makefile for: edonkey server list tool
|
|
# Date created: Wed Feb 20 18:03:49 BRT 2002
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= edonkey
|
|
PORTVERSION= 0.2
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
|
|
PKGNAMESUFFIX= -tool-slist
|
|
DISTNAME= ed2k_slist-${PORTVERSION}
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
|
|
WRKSRC= ${WRKDIR}/ed2k_slist
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|
|
|
||' ${WRKSRC}/*.[ch]
|
|
|
|
# I could have written a Makefile but I would rather
|
|
# not waste inodes
|
|
do-build:
|
|
@cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} \
|
|
ed2k_slist.c -o ${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
do-install:
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
|
|
@${INSTALL_DATA} ${WRKSRC}/COPYING \
|
|
${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
.endif
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \
|
|
${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|