forked from Lainports/freebsd-ports
- utilize PORTDOCS and DATADIR PR: 71852 Submitted by: leeym Approved by: maintainer timeout
38 lines
1 KiB
Makefile
38 lines
1 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.0p3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://phoenix.inf.upol.cz/~jezberam/bbsmount/files/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pre/}
|
|
|
|
MAINTAINER= ejc@crackpot.org
|
|
COMMENT= Graphical disk mounter for the Blackbox slit
|
|
|
|
USE_X_PREFIX= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
USE_XLIB= yes
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GCC= 2.95
|
|
PORTDOCS= README BUGS NEWS AUTHORS ChangeLog
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO_MSG} "===> Installing documentation"
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL} ${WRKSRC}/data/README.bbsmount ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
if [ ! -e ${PREFIX}/share/bbtools/bbsmount.bb ]; then \
|
|
${CP} -p ${WRKSRC}/data/bbsmount.bb \
|
|
${PREFIX}/share/bbtools/bbsmount.bb; \
|
|
fi
|
|
@${INSTALL} ${WRKSRC}/data/bbsmount.bb ${PREFIX}/share/bbtools/bbsmount.bb-sample
|
|
|
|
.include <bsd.port.mk>
|