mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
50 lines
987 B
Makefile
50 lines
987 B
Makefile
# New ports collection makefile for: xabacus
|
|
# Date created: 3 May 1998
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xabacus
|
|
PORTVERSION= 7.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.tux.org/~bagleyd/abacus/ \
|
|
http://ftp.tux.org/pub/tux/bagleyd/xabacus/ \
|
|
${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= apps/math
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Abacus for X Window System
|
|
|
|
USE_BZIP2= yes
|
|
USE_X_PREFIX= yes
|
|
WANT_GNOME= yes
|
|
USE_GNOME= gnometarget
|
|
USE_XPM= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --without-nas
|
|
|
|
MAN6= xabacus.6
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITHOUT_MOTIF)
|
|
CONFIGURE_ARGS+= --without-motif
|
|
.else
|
|
USE_MOTIF= yes
|
|
.endif
|
|
|
|
.if ${HAVE_GNOME:Mesound}!=""
|
|
USE_GNOME+= esound
|
|
CONFIGURE_ARGS+= --without-rplay --with-esound
|
|
.else
|
|
LIB_DEPENDS+= rplay.1:${PORTSDIR}/audio/rplay
|
|
CONFIGURE_ARGS+= --with-rplay --without-esound
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.post.mk>
|