87c785cee0
Abduco is another brilliant example featuring an "all" target that depends on a "clean" target that runs concurrently with a build target under -jX causing built object files to be deleted before they are used. Presumably the fix would be to remove the useless dependency on the "clean" target.
31 lines
797 B
Makefile
31 lines
797 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= abduco
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.brain-dump.org/projects/abduco/
|
|
|
|
MAINTAINER= swdragonmaus@gmail.com
|
|
COMMENT= Session management in a clean and simple way
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
MAKE_ARGS= CPPFLAGS="${CPPFLAGS}" STRIP="${STRIP_CMD}" \
|
|
MANPREFIX="${MANPREFIX}/man"
|
|
PLIST_FILES= bin/abduco \
|
|
man/man1/abduco.1.gz
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
pre-everything::
|
|
@${ECHO_MSG} "You can build abduco with your own config.h using the ABDUCO_CONF knob:"
|
|
@${ECHO_MSG} "make ABDUCO_CONF=/path/to/abduco/config.h install clean"
|
|
|
|
post-extract:
|
|
@if [ -e "${ABDUCO_CONF}" ]; then \
|
|
${ECHO_MSG} "Creating symlink: config.h -> ${ABDUCO_CONF}"; \
|
|
${LN} -fs "${ABDUCO_CONF}" ${WRKSRC}/config.h; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|