11d48aee2d
Approved by: bapt (mentor)
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gworkspace
|
|
PORTVERSION= 0.9.2
|
|
CATEGORIES= deskutils gnustep
|
|
#MASTER_SITES= http://www.gnustep.it/enrico/gworkspace/
|
|
MASTER_SITES= ${MASTER_SITE_GNUSTEP}
|
|
MASTER_SITE_SUBDIR= usr-apps
|
|
PKGNAMESUFFIX= -gwmetadata${PKGNAMESUFFIX2}
|
|
|
|
MAINTAINER= theraven@FreeBSD.org
|
|
COMMENT= GWMetadata for GNUstep workspace manager
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_GNUSTEP= yes
|
|
USE_GNUSTEP_BACK= yes
|
|
USE_GNUSTEP_CONFIGURE= yes
|
|
USE_GNUSTEP_BUILD= yes
|
|
USE_GNUSTEP_INSTALL= yes
|
|
USE_GNUSTEP_SYSTEM_LIBS+= DBKit:${GWORKSPACE_PORT}
|
|
USE_GNUSTEP_SYSTEM_LIBS+= PreferencePanes:${PREFERENCEPANES_PORT}
|
|
USE_GNUSTEP_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
|
|
|
|
USE_SQLITE= yes
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
|
|
UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
|
|
WRKSRC= ${WRKDIR}/gworkspace-${PORTVERSION}/GWMetadata
|
|
CONFIGURE_ARGS+= --with-sqlite-include=${LOCALBASE}/include
|
|
CONFIGURE_ARGS+= --with-sqlite-library=${LOCALBASE}/lib
|
|
DEFAULT_LIBVERSION= 0.1.0
|
|
MAKE_ENV+= GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
|
|
|
|
GWORKSPACE_PORT?= deskutils/gworkspace
|
|
PREFERENCEPANES_PORT?= deskutils/preferencepanes
|
|
|
|
post-patch:
|
|
${CP} ${WRKSRC}/gmds/mdextractor/Extractors/JpegExtractor/GNUmakefile.in \
|
|
${WRKSRC}/gmds/mdextractor/Extractors/JpegExtractor/GNUmakefile
|
|
${CP} ${FILESDIR}/Preferences-GNUmakefile \
|
|
${WRKSRC}/Preferences/GNUmakefile
|
|
${CP} ${FILESDIR}/MDFinder-GNUmakefile \
|
|
${WRKSRC}/MDFinder/GNUmakefile
|
|
|
|
.include <bsd.port.mk>
|