make: cannot open Makefile *** Error code 2

Pietro Cerutti pietro.cerutti at
Thu Apr 26 20:14:05 UTC 2007

Hi List,
I'm trying to port TuxGuitar (a Java-based tablature editor) to FreeBSD.

The software compiles almost out of the box: it just requires a few
patches to the ant(1) properties files.
All dependencies are already installed.

The port compiles without any error or warning messages, but gives
this error at "make install":
 sudo make install
===>  Installing for tuxguitar-0.9.1
===>   tuxguitar-0.9.1 depends on file:
/usr/local/diablo-jdk1.5.0/bin/java - found
===>   Generating temporary packing list
===>  Checking if audio/tuxguitar already installed
make: cannot open Makefile.
*** Error code 2

Stop in /home/piter/docs/Projects/TuxGuitar/port/tuxguitar.
Exit 1

I searched google and the mailing list archives but couldn't find any
hint on how to solve this problem.

Any suggestion and request for additional information are welcome!

The Makefile is:

# New ports collection makefile for:   tuxguitar
# Date created:        26 April 2007
# Whom:                Pietro Cerutti (gahr at
# $FreeBSD$

PORTNAME=      tuxguitar
CATEGORIES=    audio java
DISTFILES=     TuxGuitar-0.9.1-src.tar.gz

MAINTAINER=    gahr at
COMMENT=       A Multitrack tablature editor and player

BUILD_DEPENDS= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt \

WRKSRC=        ${WRKDIR}/TuxGuitar-0.9.1-src

USE_JAVA=      yes
USE_ANT=       yes

.include <>

P.S. please CC me since I'm not on this list

Best Regards,

Pietro Cerutti

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments

More information about the freebsd-ports mailing list