1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/sysutils/bbsmount/Makefile
Marcus Alves Grando e88d164484 - Update to 0.3.1
- portlint(1)

PR:		93062
Submitted by:	Shaun Amott <shaun@inerd.com>
2006-02-18 03:44:13 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: bbsmount
# Date created: 11 October 2003
# Whom: Eric J. Christeson <ejc@crackpot.org>
#
# $FreeBSD$
#
PORTNAME= bbsmount
PORTVERSION= 0.3.1
CATEGORIES= sysutils
MASTER_SITES= http://phoenix.inf.upol.cz/~jezberam/bbsmount/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical disk mounter for the Blackbox slit
USE_X_PREFIX= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
USE_GCC= 2.95
PORTDOCS= README BUGS NEWS AUTHORS ChangeLog
MAN1= bbsmount.1
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
.endif
@${REINPLACE_CMD} -e 's|-O[012]||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|SUBDIRS = data|SUBDIRS =|' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation"
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${MKDIR} ${PREFIX}/share/bbtools
@${MKDIR} ${EXAMPLESDIR}
if [ ! -e ${PREFIX}/share/bbtools/bbsmount.bb ]; then \
${CP} -p ${WRKSRC}/data/bbsmount.bb \
${PREFIX}/share/bbtools/bbsmount.bb; \
fi
@${INSTALL_DATA} ${WRKSRC}/data/bbsmount.bb ${PREFIX}/share/bbtools/bbsmount.bb-sample
@${INSTALL_DATA} ${WRKSRC}/data/bbsmount.bb.ex ${EXAMPLESDIR}/bbsmount.bb.ex
.include <bsd.port.post.mk>