summaryrefslogblamecommitdiff
path: root/textproc/p5-SGML-Parser-OpenSP/Makefile
blob: a24920bf2cdf7259fa27fa570b24792d236206e4 (plain) (tree)
1
2
3
4
5
6
7
8
                                                    
                                  
                     
                 
                              
                    
                   


                                                 
                                                                           
                            
                    
                                         
                                                              
 
                              
                         
                      
                                            
 


                                                                        
                      
# Created by: Naram Qashat <cyberbotx@cyberbotx.com>

PORTNAME=	SGML-Parser-OpenSP
PORTVERSION=	0.994
PORTREVISION=	3
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	cyberbotx@cyberbotx.com
COMMENT=	Parse SGML documents using OpenSP

# The port's README says the port "is licensed under the same terms as Perl
# itself".
LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	onsgmls:textproc/opensp \
		p5-Class-Accessor>=0:devel/p5-Class-Accessor \
		p5-Test-Exception>=0:devel/p5-Test-Exception

USES=		dos2unix perl5
USE_PERL5=	configure
CC=		${CXX}
CONFIGURE_ARGS+="INC=-I${LOCALBASE}/include"

post-patch:
	(cd ${WRKSRC} ; \
	 ${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|g" Makefile.PL )

.include <bsd.port.mk>