Index: head/misc/edonkey-tool-hash/Makefile =================================================================== --- head/misc/edonkey-tool-hash/Makefile (revision 67353) +++ head/misc/edonkey-tool-hash/Makefile (revision 67354) @@ -1,27 +1,32 @@ # New ports collection makefile for: edonkey hash tool # Date created: Wed Feb 20 18:03:49 BRT 2002 # Whom: Mario Sergio Fujikawa Ferreira # # $FreeBSD$ # 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: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \ ${PREFIX}/bin .include Property changes on: head/misc/edonkey-tool-hash/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/misc/edonkey-tool-hash/distinfo =================================================================== --- head/misc/edonkey-tool-hash/distinfo (revision 67353) +++ head/misc/edonkey-tool-hash/distinfo (revision 67354) @@ -1 +1 @@ -MD5 (ed2k_hash.tar.gz) = f4645f0f44b9332a6e5672d8b8a0f0ab +MD5 (ed2k_hash-0.2.tar.gz) = fda4cf150c6a40dfdb98776abb08bc8b Property changes on: head/misc/edonkey-tool-hash/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/net-p2p/edonkey-tool-hash/Makefile =================================================================== --- head/net-p2p/edonkey-tool-hash/Makefile (revision 67353) +++ head/net-p2p/edonkey-tool-hash/Makefile (revision 67354) @@ -1,27 +1,32 @@ # New ports collection makefile for: edonkey hash tool # Date created: Wed Feb 20 18:03:49 BRT 2002 # Whom: Mario Sergio Fujikawa Ferreira # # $FreeBSD$ # 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: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \ ${PREFIX}/bin .include Property changes on: head/net-p2p/edonkey-tool-hash/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/net-p2p/edonkey-tool-hash/distinfo =================================================================== --- head/net-p2p/edonkey-tool-hash/distinfo (revision 67353) +++ head/net-p2p/edonkey-tool-hash/distinfo (revision 67354) @@ -1 +1 @@ -MD5 (ed2k_hash.tar.gz) = f4645f0f44b9332a6e5672d8b8a0f0ab +MD5 (ed2k_hash-0.2.tar.gz) = fda4cf150c6a40dfdb98776abb08bc8b Property changes on: head/net-p2p/edonkey-tool-hash/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property