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

- Use converters/bsdconv as master port

PR:		ports/156439
Submitted by:	Kuan-Chung Chiu <buganini@gmail.com> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-04-16 13:55:02 +00:00
parent aa78ccfd3d
commit 38b3e7efc8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272805
6 changed files with 24 additions and 27 deletions

View File

@ -5,10 +5,7 @@
# $FreeBSD$
#
PORTNAME= bsdconv
PORTVERSION= 4.3
CATEGORIES= converters perl5
MASTER_SITES= http://cloud.github.com/downloads/buganini/bsdconv/
CATEGORIES+= perl5
PKGNAMEPREFIX= p5-
MAINTAINER= buganini@gmail.com
@ -16,14 +13,18 @@ COMMENT= Perl wrapper for bsdconv
LIB_DEPENDS= bsdconv.4:${PORTSDIR}/converters/bsdconv
MASTERDIR= ${.CURDIR}/../bsdconv
WRKSRC= ${WRKDIR}/${DISTNAME}/wrapper/perl
PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
PERL_CONFIGURE= yes
MAN3= bsdconv.3
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/wrapper/perl
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -1,2 +0,0 @@
SHA256 (bsdconv-4.3.tar.gz) = c456db155aa5f6f342edd3e6ff0561d79a3a3f1723670ecc60626711bed7fe1d
SIZE (bsdconv-4.3.tar.gz) = 3704402

View File

@ -5,10 +5,7 @@
# $FreeBSD$
#
PORTNAME= bsdconv
PORTVERSION= 4.3
CATEGORIES= converters
MASTER_SITES= http://cloud.github.com/downloads/buganini/bsdconv/
CATEGORIES+= converters
PKGNAMEPREFIX= php5-
MAINTAINER= buganini@gmail.com
@ -16,6 +13,12 @@ COMMENT= PHP wrapper for bsdconv
LIB_DEPENDS= bsdconv.4:${PORTSDIR}/converters/bsdconv
MASTERDIR= ${.CURDIR}/../bsdconv
WRKSRC= ${WRKDIR}/${DISTNAME}/wrapper/php
PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
DESCR= ${.CURDIR}/pkg-descr
PLIST= # empty
USE_PHP= yes
USE_PHPIZE= yes
USE_PHP_BUILD= yes
@ -23,6 +26,4 @@ USE_PHPEXT= yes
PHP_MODNAME= bsdconv
CONFIGURE_ARGS+=--with-bsdconv=${LOCALBASE}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/wrapper/php
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -1,2 +0,0 @@
SHA256 (bsdconv-4.3.tar.gz) = c456db155aa5f6f342edd3e6ff0561d79a3a3f1723670ecc60626711bed7fe1d
SIZE (bsdconv-4.3.tar.gz) = 3704402

View File

@ -5,10 +5,7 @@
# $FreeBSD$
#
PORTNAME= bsdconv
PORTVERSION= 4.3
CATEGORIES= converters python
MASTER_SITES= http://cloud.github.com/downloads/buganini/bsdconv/
CATEGORIES+= python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= buganini@gmail.com
@ -16,14 +13,18 @@ COMMENT= Python wrapper for bsdconv
LIB_DEPENDS= bsdconv.4:${PORTSDIR}/converters/bsdconv
MASTERDIR= ${.CURDIR}/../bsdconv
WRKSRC= ${WRKDIR}/${DISTNAME}/wrapper/python
PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/wrapper/python
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -1,2 +0,0 @@
SHA256 (bsdconv-4.3.tar.gz) = c456db155aa5f6f342edd3e6ff0561d79a3a3f1723670ecc60626711bed7fe1d
SIZE (bsdconv-4.3.tar.gz) = 3704402