48292acf61
PR: 30322 Submitted by: Ports Fury
40 lines
936 B
Makefile
40 lines
936 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: dotconf
|
|
# Date created: Jan 28, 2001
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dotconf
|
|
PORTVERSION= 1.0.6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.azzit.de/dotconf/download/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL= yes
|
|
INSTALLS_SHLIB= yes
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
|
|
|
|
pre-patch:
|
|
@${PERL} -pi -e 's|-Wall -g||' ${WRKSRC}/configure
|
|
@${PERL} -pi -e 's|-release $(LT_RELEASE)||' ${WRKSRC}/src/Makefile.in
|
|
|
|
pre-build:
|
|
@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}/libtool
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${TAR} -C ${WRKSRC}/examples -cf - . | \
|
|
${TAR} -C ${EXAMPLESDIR} --unlink -xf -
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|