diff options
-rw-r--r-- | graphics/gdtclft/files/Makefile.bsd | 8 | ||||
-rw-r--r-- | graphics/libimg/files/Makefile.bsd | 10 |
2 files changed, 4 insertions, 14 deletions
diff --git a/graphics/gdtclft/files/Makefile.bsd b/graphics/gdtclft/files/Makefile.bsd index 1e6980b..608b464 100644 --- a/graphics/gdtclft/files/Makefile.bsd +++ b/graphics/gdtclft/files/Makefile.bsd @@ -1,8 +1,6 @@ PACKAGE = Gdtclft VERSION = 2.2 -LIB = ${PACKAGE}2 -SHLIB_MAJOR = 2 -SHLIB_MINOR = 1 +SHLIB_NAME = lib${PACKAGE}2.so.2 SRCS = gdhandle.c gdCmd.c @@ -25,9 +23,7 @@ CFLAGS +=-I${PREFIX}/include/tcl${TCL_VER} -I${PREFIX}/include/gd CFLAGS +=-DNDEBUG -Wall -I. -DUSE_TCL_STUBS -I${PREFIX}/include CFLAGS +=-DVERSION=\"${VERSION}\" -INTERNALLIB = don't build the useless static version - -all: ${SHLIB_NAME} pkgIndex.tcl +all: pkgIndex.tcl pkgIndex.tcl: echo 'package ifneeded $(PACKAGE) $(VERSION) [list load [file join $$dir $(SHLIB_NAME)] $(PACKAGE)]' > pkgIndex.tcl diff --git a/graphics/libimg/files/Makefile.bsd b/graphics/libimg/files/Makefile.bsd index 2456cab..d75c315 100644 --- a/graphics/libimg/files/Makefile.bsd +++ b/graphics/libimg/files/Makefile.bsd @@ -1,13 +1,10 @@ -LIB= img +SHLIB_NAME= libimg.so.1 PORTVERSION?= 1.2.4 LOCALBASE?= /usr/local X11BASE?= /usr/X11R6 TCL_VER?= 8.3 -SHLIB_MAJOR= 1 -SHLIB_MINOR= 2 - .if exists(${LOCALBASE}/lib/tk${TCL_VER}/tkConfig.sh) # If for some reason the file does not exist -- make the best guess. In # reality, it will exist by the time we are actually doing the build, so @@ -38,10 +35,7 @@ CFLAGS+= -DHAVE_JPEGLIB_H -DHAVE_TIFF_H -DHAVE_DLFCN_H -DHAVE_IMG_H # libtiff itself does NOT install. -mi CFLAGS+= -I${.CURDIR}/libtiff -INTERNALLIB = don't build the useless static version -NOPROFILE = don't build the profilable lib - -all: ${SHLIB_NAME} pkgIndex.tcl +all: pkgIndex.tcl pkgIndex.tcl: pkgIndex.tcl.in sed -e 's,@IMG_PATCH_LEVEL@,${PORTVERSION},g' \ |