diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-10-05 17:29:38 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-10-05 17:29:38 +0000 |
commit | e0260a34d9f3a7035aac3e826def8a140585ff6a (patch) | |
tree | cd5848aa09e952a7c8c2e07a9cd4133cbbd91ad0 /net-p2p/edonkey-tool-hash/Makefile | |
parent | Update to 2.4.2. (diff) |
Update to 0.0.2
Diffstat (limited to 'net-p2p/edonkey-tool-hash/Makefile')
-rw-r--r-- | net-p2p/edonkey-tool-hash/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/net-p2p/edonkey-tool-hash/Makefile b/net-p2p/edonkey-tool-hash/Makefile index 4ecca6ab2dc0..50271e166808 100644 --- a/net-p2p/edonkey-tool-hash/Makefile +++ b/net-p2p/edonkey-tool-hash/Makefile @@ -6,18 +6,23 @@ # PORTNAME= edonkey -PORTVERSION= 0.0.1 +PORTVERSION= 0.0.2 CATEGORIES= misc MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/ PKGNAMESUFFIX= -tool-hash -DISTNAME= ed2k_hash +DISTNAME= ed2k_hash-${PORTVERSION:S/^0.//} MAINTAINER= lioux@FreeBSD.org +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +WRKSRC= ${WRKDIR}/ed2k_hash + # I could have written a Makefile but I would rather # not waste inodes do-build: - @cd ${WRKSRC} && ${CC} -D__linux ${CFLAGS} ${LDFLAGS} -lmd \ + cd ${WRKSRC} && ${CC} -D__linux ${CFLAGS} ${LDFLAGS} -lmd \ + -I${LOCALBASE}/include -L${LOCALBASE}/lib -lgnugetopt \ ed2k_hash.c -o ${PORTNAME}${PKGNAMESUFFIX} do-install: |